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)
commit40372f5f66c4d123b8bd17b785fadecd19eb2bd1
tree6e050818a9a2a3a10d1d27eb1a100bf39885b7c0
parentb4843c19be4cbae48dc002080bdf49c274f26796
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