summaryrefslogtreecommitdiff
path: root/drivers/staging/comedi/Kconfig
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2012-06-25 18:49:38 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-06-26 22:10:57 (GMT)
commita77198816e193a88b9c10ce13f0d2e172df0c6b5 (patch)
tree53a4939b849229c6f057d647988df42503454bba /drivers/staging/comedi/Kconfig
parent7ac21b82be42b6414ba9fa170263376ee2326925 (diff)
downloadlinux-fsl-qoriq-a77198816e193a88b9c10ce13f0d2e172df0c6b5.tar.xz
staging: comedi: Move COMEDI_MITE and COMEDI_NI_TIOCMD
Move the CONFIG_COMEDI_MITE config options into the `if COMEDI_PCI_DRIVERS` block so that the `depends on PCI` condition can be omitted. Move the CONFIG_COMEDI_NI_TIOCMD config option to the same block as it selects COMEDI_MITE. Move the CONFIG_COEMDI_NI_TIO config option slightly for aesthetic reasons without changing its conditions. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/comedi/Kconfig')
-rw-r--r--drivers/staging/comedi/Kconfig23
1 files changed, 11 insertions, 12 deletions
diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index 9ff3f4d..6cee785 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -1105,6 +1105,14 @@ config COMEDI_SSV_DNP
To compile this driver as a module, choose M here: the module will be
called ssv_dnp.
+config COMEDI_MITE
+ tristate
+
+config COMEDI_NI_TIOCMD
+ tristate
+ select COMEDI_NI_TIO
+ select COMEDI_MITE
+
endif # COMEDI_PCI_DRIVERS
menuconfig COMEDI_PCMCIA_DRIVERS
@@ -1245,18 +1253,6 @@ config COMEDI_VMK80XX
endif # COMEDI_USB_DRIVERS
-config COMEDI_MITE
- tristate
- depends on PCI
-
-config COMEDI_NI_TIO
- tristate
-
-config COMEDI_NI_TIOCMD
- tristate
- select COMEDI_NI_TIO
- select COMEDI_MITE
-
config COMEDI_8255
tristate "Generic 8255 support"
---help---
@@ -1290,4 +1286,7 @@ config COMEDI_DAS08
tristate
select COMEDI_8255
+config COMEDI_NI_TIO
+ tristate
+
endif # COMEDI