Staging: comedi: fix build on arches that don't want comedi drivers
authorGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Oct 2009 17:26:11 +0000 (10:26 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Oct 2009 20:47:25 +0000 (13:47 -0700)
This should fix the problem of comedi drivers showing up on arches that
can not support the comedi subsystem (like s390).

Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/comedi/Kconfig

index af723cb9d08f86d4116a2ed1eb2df2cee249803f..d63c889ce5574a6017cb627389eaf26b81fe47ee 100644 (file)
@@ -1,7 +1,7 @@
 config COMEDI
        tristate "Data acquisition support (comedi)"
        default N
-       depends on m
+       depends on m && (PCI || PCMCIA || PCCARD || USB)
        ---help---
          Enable support a wide range of data acquisition devices
          for Linux.