]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: comedi: Kconfig: remove redundant depends on tests
authorH Hartley Sweeten <hartleys@visionengravers.com>
Tue, 19 Jun 2012 23:20:31 +0000 (16:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 20 Jun 2012 20:02:49 +0000 (13:02 -0700)
The 'depends on COMEDI_ISA_DRIVERS' for COMEDI_AMPLC_DIO200_ISA is
not needed. This option is alread in an if/endif block that will
satisy the check.

The 'depends on COMEDI' for COMEDI_NI_COMMON was missed when all
the comedi options were wrapped in an if/endif block.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/Kconfig

index 974c668ff62b97cc5798391bb77e23177fdd13fd..04155202991c84a72a3d17b4a0f7d007fe7fa583 100644 (file)
@@ -213,7 +213,6 @@ config COMEDI_PCM3730
 config COMEDI_AMPLC_DIO200_ISA
        tristate "Amplicon PC212E/PC214E/PC215E/PC218E/PC272E"
        select COMEDI_AMPLC_DIO200
-       depends on COMEDI_ISA_DRIVERS
        ---help---
          Enable support for Amplicon PC212E, PC214E, PC215E, PC218E and
          PC272E ISA DIO boards
@@ -1236,7 +1235,6 @@ endif # COMEDI_USB_DRIVERS
 
 menuconfig COMEDI_NI_COMMON
        tristate "Comedi National Instruments card support"
-       depends on COMEDI
        ---help---
          Enable comedi support for National Instruments cards.
          Modules in this section are used by many comedi NI drivers.