]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
Use menuconfig objects II - auxdisplay
authorJan Engelhardt <jengelh@linux01.gwdg.de>
Mon, 16 Jul 2007 06:39:26 +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>
Acked-by: Miguel Ojeda Sandonis <maxextreme@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/auxdisplay/Kconfig

index ea4fe3e48f33c3213b9c0447a26fbeddb3d38148..de2fcce10ba526c1eb0c32c788f978e9fe1172ee 100644 (file)
@@ -5,8 +5,11 @@
 # Auxiliary display drivers configuration.
 #
 
-menu "Auxiliary Display support"
+menuconfig AUXDISPLAY
        depends on PARPORT
+       bool "Auxiliary Display support"
+
+if AUXDISPLAY && PARPORT
 
 config KS0108
        tristate "KS0108 LCD Controller"
@@ -111,4 +114,5 @@ config CFAG12864B_RATE
 
          If you compile this as a module, you can still override this
          value using the module parameters.
-endmenu
+
+endif # AUXDISPLAY