From: Jan Engelhardt 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 Cc: Miguel Ojeda Sandonis Signed-off-by: Andrew Morton --- drivers/auxdisplay/Kconfig | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff -puN drivers/auxdisplay/Kconfig~use-menuconfig-objects-ii-auxdisplay drivers/auxdisplay/Kconfig --- a/drivers/auxdisplay/Kconfig~use-menuconfig-objects-ii-auxdisplay +++ a/drivers/auxdisplay/Kconfig @@ -5,8 +5,12 @@ # Auxiliary display drivers configuration. # -menu "Auxiliary Display support" +menuconfig AUXDISPLAY depends on PARPORT + bool "Auxiliary Display support" + default y + +if AUXDISPLAY config KS0108 tristate "KS0108 LCD Controller" @@ -107,4 +111,5 @@ config CFAG12864B_RATE If you compile this as a module, you can still override this value using the module parameters. -endmenu + +endif # AUXDISPLAY _