summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-03-05 10:25:04 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-11 10:05:23 -0700
commitdbae4575661da840353f12dd76499ad587c92519 (patch)
tree71062cc747538df902e32c6af801dc72175162b4 /include
parentf7c929b7fb3afde17997b997d17fa7846777c69d (diff)
staging: comedi: addi_apci_3xxx: 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. Set the dev->board_ptr before calling addi_auto_attach(). This removes the need for the common code to search for the boardinfo. Since the search is not done we can remove the unnecessary board information from the comedi_driver. 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