summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-03-05 09:58:25 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-11 10:01:45 -0700
commit5e42525df0a7a1262069d433b1015d0cf2107cb1 (patch)
tree9b3f4c294fd96f6820694083d847b95dbff9d184 /include
parent1df0e5b0ca97e2aeaa2be8241ea840f06b4dabfa (diff)
staging: comedi: adl_pci6208: 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 'dev_id' 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')
0 files changed, 0 insertions, 0 deletions