summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-03-05 09:59:07 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-11 10:01:45 -0700
commitb5357e6111b6400852ce1d47c11cc9325d68bd02 (patch)
tree4adcab9da2c50ce03883ea80e1cf01171d8be9d9 /include/linux/platform_data
parent5e42525df0a7a1262069d433b1015d0cf2107cb1 (diff)
staging: comedi: adl_pci7x3x: use the pci id_table 'driver_data'
Create an enum to the boardinfo and pass that enum in the pci_driver id_table as the driver_data. Change the macro used to fill in the device table from PCI_DEVICE() to PCI_VDEVICE(). This allows passing the enum as the next field. This allows removing the 'device' data from the boardinfo as well the search function that was used to locate the boardinfo for the PCI device. Since the PCI device ids are now only used in the id_table, remove the defines and open code the device ids. Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com> Cc: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/platform_data')
0 files changed, 0 insertions, 0 deletions