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 02/36] Use menuconfig objects II - auxdisplay

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/auxdisplay/Kconfig | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)

--- linux-2.6.21-mm_20070428.orig/drivers/auxdisplay/Kconfig
+++ linux-2.6.21-mm_20070428/drivers/auxdisplay/Kconfig
@@ -5,7 +5,11 @@
# Auxiliary display drivers configuration.
#

-menu "Auxiliary Display support"
+menuconfig AUXDISPLAY
+ bool "Auxiliary Display support"
+ default y
+
+if AUXDISPLAY

config KS0108
tristate "KS0108 LCD Controller"
@@ -106,4 +110,5 @@ config CFAG12864B_RATE

If you compile this as a module, you can still override this
value using the module parameters.
-endmenu
+
+endif # AUXDISPLAY
-
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:25    [W:0.203 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site