]> git.openfabrics.org - ~shefty/rdma-dev.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)
commitd22e9306c3e119ebc058d5b77306042d6603b231
tree2b9fff26807f151eb915ccddee1b166fad1eb2b5
parenta6e11e3b9ffe994f1f2f8ab74ebdc9d1937c16e0
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