]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
Use menuconfig objects II - misc strange dev
authorJan Engelhardt <jengelh@linux01.gwdg.de>
Mon, 16 Jul 2007 06:39:29 +0000 (23:39 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Mon, 16 Jul 2007 16:05:40 +0000 (09:05 -0700)
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>
drivers/misc/Kconfig

index bd601efa7bd188b77a3ced5e24a4f7684684a76a..29bc1105d1bae3d45703bce04eb080a72912019c 100644 (file)
@@ -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