]> git.baikalelectronics.ru Git - kernel.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)
commit61bc02bb5fae4dc08bcb421f6ca1fa6c33210a78
treead8b7fdb1c78645be1eadfd612a36c3b552b74d4
parent2dc51819f59849c3f88a9c5b4a388eb06ecd90b8
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