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: Jens Axboe Signed-off-by: Andrew Morton --- drivers/block/Kconfig | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff -puN drivers/block/Kconfig~use-menuconfig-objects-ii-block-devices drivers/block/Kconfig --- a/drivers/block/Kconfig~use-menuconfig-objects-ii-block-devices +++ a/drivers/block/Kconfig @@ -2,9 +2,12 @@ # Block device driver configuration # -if BLOCK +menuconfig BLK_DEV + bool "Block devices" + depends on BLOCK + default y -menu "Block devices" +if BLK_DEV config BLK_DEV_FD tristate "Normal floppy disk support" @@ -459,6 +462,4 @@ config XILINX_SYSACE help Include support for the Xilinx SystemACE CompactFlash interface -endmenu - -endif +endif # BLK_DEV _