]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: amplc_pc263: Use module_comedi_{pci, }_driver()
authorIan Abbott <abbotti@mev.co.uk>
Wed, 30 May 2012 18:04:39 +0000 (19:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:48:07 +0000 (20:48 -0700)
commit199b5470dc4793da69eb56ebc1a059a7aafd6857
tree6e050818a9a2a3a10d1d27eb1a100bf39885b7c0
parentc9f5ec9d8c45ee3c516b1780370ee1424ffdad82
staging: comedi: amplc_pc263: 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_pc263' to 'amplc_pc263_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_pc263.c