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>
 # 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"
 
          If you compile this as a module, you can still override this
          value using the module parameters.
-endmenu
+
+endif # AUXDISPLAY