]> git.baikalelectronics.ru Git - kernel.git/commit
staging: comedi: das08: Use module_comedi_{pci_, }driver
authorIan Abbott <abbotti@mev.co.uk>
Thu, 24 May 2012 16:27:13 +0000 (17:27 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 5 Jun 2012 03:39:38 +0000 (20:39 -0700)
commite82dc820703ad99476b3b1115cb122517926055b
treece22897c25893f29fdafe1ffdedc3f968cdff95d
parent513644fb77ee9c95acc3d49f315b2f02c212d72e
staging: comedi: das08: 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, if
ISA (or PC/104) boards are supported, use the module_comedi_driver()
macro to register the module as a comedi driver.  Otherwise, this is
only a helper module for an external comedi driver (das08_cs).

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/das08.c