]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
authorJan Engelhardt <jengelh@linux01.gwdg.de>
Tue, 10 Jul 2007 10:26:06 +0000 (12:26 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 10 Jul 2007 11:43:30 +0000 (13:43 +0200)
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 <jengelh@gmx.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/Kconfig

index d6ad7b3ea0dc34dbdf820a0dc3df6875aae64a5f..6e23af1ecbdb3fca4600bf3fafecce4126ba7f3a 100644 (file)
@@ -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