[PATCH 1/4] staging: comedi: Kconfig: menuconfig options should be bool not tristate

From: H Hartley Sweeten
Date: Fri Jun 15 2012 - 18:20:30 EST


The menuconfig options to enable the misc, isa, pci, pcmcia, and usb
comedi driver selections should be bool not tristate. They don't
directly affect the building of the kernel they just allow other
options to be selected.

Signed-off-by: H Hartley Sweeten <hsweeten@xxxxxxxxxxxxxxxxxxx>
Cc: Ian Abbott <abbotti@xxxxxxxxx>
Cc: Frank Mori Hess <fmhess@xxxxxxxxxxxxxxxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
drivers/staging/comedi/Kconfig | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/drivers/staging/comedi/Kconfig b/drivers/staging/comedi/Kconfig
index 2ca7f08..88ef0c7 100644
--- a/drivers/staging/comedi/Kconfig
+++ b/drivers/staging/comedi/Kconfig
@@ -33,7 +33,7 @@ config COMEDI_DEFAULT_BUF_MAXSIZE_KB
channels running at 100 kHz has 2-4 seconds of buffer.

menuconfig COMEDI_MISC_DRIVERS
- tristate "Comedi misc drivers"
+ bool "Comedi misc drivers"
---help---
Enable comedi misc drivers to be built

@@ -100,7 +100,7 @@ config COMEDI_SKEL
endif # COMEDI_MISC_DRIVERS

menuconfig COMEDI_ISA_DRIVERS
- tristate "Comedi ISA and PC/104 drivers"
+ bool "Comedi ISA and PC/104 drivers"
depends on ISA
---help---
Enable comedi ISA and PC/104 drivers to be built
@@ -540,7 +540,7 @@ config COMEDI_POC
endif # COMEDI_ISA_DRIVERS

menuconfig COMEDI_PCI_DRIVERS
- tristate "Comedi PCI drivers"
+ bool "Comedi PCI drivers"
depends on PCI
---help---
Enable comedi PCI drivers to be built
@@ -1096,7 +1096,7 @@ config COMEDI_SSV_DNP
endif # COMEDI_PCI_DRIVERS

menuconfig COMEDI_PCMCIA_DRIVERS
- tristate "Comedi PCMCIA drivers"
+ bool "Comedi PCMCIA drivers"
depends on PCMCIA
---help---
Enable comedi PCMCIA and PCCARD drivers to be built
@@ -1179,7 +1179,7 @@ config COMEDI_QUATECH_DAQP_CS
endif # COMEDI_PCMCIA_DRIVERS

menuconfig COMEDI_USB_DRIVERS
- tristate "Comedi USB drivers"
+ bool "Comedi USB drivers"
depends on USB
---help---
Enable comedi USB drivers to be built
--
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/