aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-07-10 12:26:06 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-07-10 13:43:30 +0200
commitfd11d171e51a5b81c176d856d5df5612117e1a45 (patch)
tree63b95bb4a3408d042d404cdf2702c67619546e8f /drivers/block
parentblock/Kconfig already has its own "menuconfig" so remove these (diff)
downloadlinux-dev-fd11d171e51a5b81c176d856d5df5612117e1a45.tar.xz
linux-dev-fd11d171e51a5b81c176d856d5df5612117e1a45.zip
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 <jengelh@gmx.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block')
-rw-r--r--drivers/block/Kconfig11
1 files changed, 6 insertions, 5 deletions
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig
index d6ad7b3ea0dc..6e23af1ecbdb 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