Commit 9c3db142 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: Kconfig: remove redundant depends on tests

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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 64be096d
...@@ -213,7 +213,6 @@ config COMEDI_PCM3730 ...@@ -213,7 +213,6 @@ config COMEDI_PCM3730
config COMEDI_AMPLC_DIO200_ISA config COMEDI_AMPLC_DIO200_ISA
tristate "Amplicon PC212E/PC214E/PC215E/PC218E/PC272E" tristate "Amplicon PC212E/PC214E/PC215E/PC218E/PC272E"
select COMEDI_AMPLC_DIO200 select COMEDI_AMPLC_DIO200
depends on COMEDI_ISA_DRIVERS
---help--- ---help---
Enable support for Amplicon PC212E, PC214E, PC215E, PC218E and Enable support for Amplicon PC212E, PC214E, PC215E, PC218E and
PC272E ISA DIO boards PC272E ISA DIO boards
...@@ -1236,7 +1235,6 @@ endif # COMEDI_USB_DRIVERS ...@@ -1236,7 +1235,6 @@ endif # COMEDI_USB_DRIVERS
menuconfig COMEDI_NI_COMMON menuconfig COMEDI_NI_COMMON
tristate "Comedi National Instruments card support" tristate "Comedi National Instruments card support"
depends on COMEDI
---help--- ---help---
Enable comedi support for National Instruments cards. Enable comedi support for National Instruments cards.
Modules in this section are used by many comedi NI drivers. Modules in this section are used by many comedi NI drivers.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment