summaryrefslogtreecommitdiff
path: root/include/linux/string.h
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-03-05 10:01:59 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-11 10:03:32 -0700
commitcf7df5864aaac1af20ddc99f3d7b2ce94c5e27e1 (patch)
treea038a5d0d17bb4e5549324c99794e09ebecc963f /include/linux/string.h
parente125f75374830aa004ba24ce5375e850856a2731 (diff)
staging: comedi: dt3000: 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_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/linux/string.h')
0 files changed, 0 insertions, 0 deletions