From: Jan Engelhardt Date: Mon, 16 Jul 2007 06:39:26 +0000 (-0700) Subject: Use menuconfig objects II - auxdisplay X-Git-Tag: v2.6.23-rc1~971 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f5920969fb9e29c9d60568864d0a56fe85e8f4b6;p=~shefty%2Frdma-dev.git 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 Acked-by: Miguel Ojeda Sandonis Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/auxdisplay/Kconfig b/drivers/auxdisplay/Kconfig index ea4fe3e48f3..de2fcce10ba 100644 --- a/drivers/auxdisplay/Kconfig +++ b/drivers/auxdisplay/Kconfig @@ -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