lkml.org 
[lkml]   [2007]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 17/36] 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>

---
drivers/misc/Kconfig | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)

--- linux-2.6.21-mm_20070428.orig/drivers/misc/Kconfig
+++ linux-2.6.21-mm_20070428/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"
@@ -186,5 +190,4 @@ config BLINK
output something to the screen like kexec kernels to give the user
a visual indication that the kernel is doing something.

-
-endmenu
+endif # MISC_STRANGE_DEV
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2007-04-30 13:43    [W:0.634 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site