From: Jan Engelhardt Date: Tue, 10 Jul 2007 10:26:06 +0000 (+0200) Subject: Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu", X-Git-Tag: v2.6.23-rc1~1158^2~2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=fd11d171e51a5b81c176d856d5df5612117e1a45;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Jens Axboe --- diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index d6ad7b3ea0d..6e23af1ecbd 100644 --- a/drivers/block/Kconfig +++ b/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" @@ -422,6 +425,4 @@ config ATA_OVER_ETH source "drivers/s390/block/Kconfig" -endmenu - -endif +endif # BLK_DEV