From: Greg Kroah-Hartman Date: Thu, 8 Oct 2009 17:26:11 +0000 (-0700) Subject: Staging: comedi: fix build on arches that don't want comedi drivers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cad9e3c75bdddfb214fd2a5885f5cce3a38ba300;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Kamalesh Babulal Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig index af723cb9d08f..d63c889ce557 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.