summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2009-10-08 10:26:11 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2009-10-09 13:47:25 -0700
commitcad9e3c75bdddfb214fd2a5885f5cce3a38ba300 (patch)
tree7355b8199850bc6c043037106107fe99df1afb5d
parent3d1c28848ea37bf117940e10826f7a485aa32337 (diff)
downloadop-kernel-dev-cad9e3c75bdddfb214fd2a5885f5cce3a38ba300.zip
op-kernel-dev-cad9e3c75bdddfb214fd2a5885f5cce3a38ba300.tar.gz
Staging: comedi: fix build on arches that don't want comedi drivers
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>
-rw-r--r--drivers/staging/comedi/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index af723cb..d63c889 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -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.
OpenPOWER on IntegriCloud