]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: amplc_pc236: Use module_comedi_{pci,}_driver()
authorIan Abbott <abbotti@mev.co.uk>
Tue, 29 May 2012 13:49:29 +0000 (14:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:46:56 +0000 (20:46 -0700)
commitc25386f5db48ee5d94b6ff3b1dc43ea6c87c9560
treead8b7fdb1c78645be1eadfd612a36c3b552b74d4
parent1bb6dfc407b7c29d22dc9b5d21db86f50653b46e
staging: comedi: amplc_pc236: 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_pc236' to 'amplc_pc236_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_pc236.c