summaryrefslogtreecommitdiff
path: root/drivers/block/Kconfig
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@linux01.gwdg.de>2007-07-10 14:26:06 +0400
committerJens Axboe <jens.axboe@oracle.com>2007-07-10 15:43:30 +0400
commitfd11d171e51a5b81c176d856d5df5612117e1a45 (patch)
tree63b95bb4a3408d042d404cdf2702c67619546e8f /drivers/block/Kconfig
parent5f5c926e3cba972636b50ab872b421e992d4f401 (diff)
downloadlinux-fd11d171e51a5b81c176d856d5df5612117e1a45.tar.xz
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/Kconfig')
-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