From ba2450b89bd9dce7d8926d919a67ed515be3e05f Mon Sep 17 00:00:00 2001 From: Alexander Kurz Date: Sat, 15 May 2010 16:09:01 +0400 Subject: [PATCH] Staging: comedi: Kconfig dependancy fixes There are three minor changes I would like to do on my last patch: * Comedi is formally not dependant on any hardware, e.g. it is possible to use comedi_test without (PCI || PCMCIA || PCCARD || USB || ISA) * comedi_parport is not dependant on PARPORT_PC. * indirect ni_mio_cs (16-bit PCMCIA) dependancy on mite PCI-chip may confuse users, thus changing COMEDI_NI_TIO depends on COMEDI_MITE to select COMEDI_MITE. Signed-off-by: Alexander Kurz Cc: Ian Abbott Cc: Frank Mori Hess Signed-off-by: Greg Kroah-Hartman --- drivers/staging/comedi/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig index 283ea0ceddf0..8ce307e64b58 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 && (PCI || PCMCIA || PCCARD || USB) + depends on m ---help--- Enable support a wide range of data acquisition devices for Linux. @@ -57,7 +57,6 @@ config COMEDI_TEST config COMEDI_PARPORT tristate "Parallel port support" - depends on PARPORT_PC default N ---help--- Enable support for the standard parallel port. @@ -1266,7 +1265,7 @@ config COMEDI_MITE config COMEDI_NI_TIO tristate "NI general purpose counter support" - depends on COMEDI_MITE + select COMEDI_MITE default N ---help--- Enable support for National Instruments general purpose counters. -- 2.34.1