From: H Hartley Sweeten Date: Wed, 6 Feb 2013 00:18:52 +0000 (-0700) Subject: staging: comedi: vmk80xx: move boardinfo into a const array X-Git-Tag: v3.9-rc1~127^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=20d6007755cb665d75ba34d6b9075b4cc02e816a;p=pandora-kernel.git staging: comedi: vmk80xx: move boardinfo into a const array The normal way of presenting the board specific information in comedi drivers is store the data in a static const array. This data is then accessed using a pointer, normally the comedi_device 'board_ptr', Move the boardinfo for the two boards supported by this driver from the vmk80xx_usb_probe() function into a static const array. Change the access of this information so a pointer is used. Signed-off-by: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed