summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorH Hartley Sweeten <hsweeten@visionengravers.com>2013-03-05 10:22:31 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-11 10:05:22 -0700
commit2fdecdbedbe08957155e68946b1eb87848364d8d (patch)
tree86343fdd4986aa4f53db3799b22693005e951ba4 /include/linux
parent151df466b681181bc1b0543df79620d4e805e531 (diff)
staging: comedi: skel: 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 'devid' data from the boardinfo as well the search function that was used to locate the boardinfo for the PCI device. Cleanup some of the comments to describe the usage of the 'context' in the (*auto_attach). 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')
0 files changed, 0 insertions, 0 deletions