]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_dio200: Use module_comedi_{pci,}_driver()
authorIan Abbott <abbotti@mev.co.uk>
Thu, 31 May 2012 13:08:32 +0000 (14:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:49:19 +0000 (20:49 -0700)
commitf0df3d7faa6c8c0cca529e3b9ee2866df4c705c5
tree2b9fff26807f151eb915ccddee1b166fad1eb2b5
parent71c4191748e150a03439ae4b0fa89d8949af9e43
staging: comedi: amplc_dio200: Use module_comedi_{pci,}_driver()

If PCI boards are supported, use the module_comedi_pci_driver() macro to
register the module as a comedi driver and a PCI driver.  Otherwise,
only ISA boards are supported so use the module_comedi_driver() macro to
register the module as a comedi driver.

Renamed 'driver_amplc_dio200' to 'amplc_dio200_driver' and removed
'driver_' prefix from PCI related functions and variables, purely for
aesthetic reasons.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c