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 Signed-off-by: Andrew Morton --- drivers/misc/Kconfig | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff -puN drivers/misc/Kconfig~use-menuconfig-objects-ii-misc-strange-dev drivers/misc/Kconfig --- a/drivers/misc/Kconfig~use-menuconfig-objects-ii-misc-strange-dev +++ a/drivers/misc/Kconfig @@ -2,7 +2,11 @@ # Misc strange devices # -menu "Misc devices" +menuconfig MISC_STRANGE_DEV + bool "Misc devices" + default y + +if MISC_STRANGE_DEV config IBM_ASM tristate "Device driver for IBM RSA service processor" @@ -201,4 +205,4 @@ config EEPROM_93CX6 This is a driver for the EEPROM chipsets 93c46 and 93c66. The driver supports both read as well as write commands. -endmenu +endif # MISC_STRANGE_DEV _