summaryrefslogtreecommitdiffstats
path: root/drivers/misc/Kconfig
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-07-16 08:39:29 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-07-16 18:05:40 +0200
commit376df37a5b472ff9a0b71218fc50576ef3803275 (patch)
treed2674edec062a20e99ebe9382a02789a929d6c60 /drivers/misc/Kconfig
parentUse menuconfig objects II - IPMI (diff)
downloadlinux-376df37a5b472ff9a0b71218fc50576ef3803275.tar.xz
linux-376df37a5b472ff9a0b71218fc50576ef3803275.zip
Use menuconfig objects II - misc strange dev
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu", so that the user can disable all the options in that menu at once instead of having to disable each option separately. Signed-off-by: Jan Engelhardt <jengelh@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/misc/Kconfig8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig
index bd601efa7bd1..29bc1105d1ba 100644
--- a/drivers/misc/Kconfig
+++ b/drivers/misc/Kconfig
@@ -2,7 +2,11 @@
# Misc strange devices
#
-menu "Misc devices"
+menuconfig MISC_STRANGE_DEV
+ bool "Misc devices"
+ default y
+
+if MISC_STRANGE_DEV
config IBM_ASM
tristate "Device driver for IBM RSA service processor"
@@ -192,4 +196,4 @@ config THINKPAD_ACPI_BAY
If you are not sure, say Y here.
-endmenu
+endif # MISC_STRANGE_DEV