staging: comedi: das08: separately configure ISA and PCI
authorIan Abbott <abbotti@mev.co.uk>
Mon, 26 Mar 2012 15:57:29 +0000 (16:57 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Apr 2012 18:16:13 +0000 (11:16 -0700)
commit2e3c024df12adf8a4c44d0d21d5c8edcdf083209
tree6a4bbe0fccca8ea0440cfa7fac974633b9ef8ee2
parent3e6be97ebbb0b45bb834670a45b343383d6de97f
staging: comedi: das08: separately configure ISA and PCI

The das08 driver supports both ISA and PCI cards, but currently is
configured outside the ISA and PCI comedi driver sections.  The module
is also used by the das08_cs driver.  This patch splits the
configuration to make the ISA and PCI parts separately selectable, and
changes the driver to only include the selected ISA and/or PCI board
types.  Also, if neither the ISA or PCI parts are selected, and the
module is only needed for the das08_cs driver, don't register the driver
as a comedi driver as it doesn't have any boards to support.

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