Skip to content

Commit

Permalink
Make a "menuconfig" out of the Kconfig objects "menu, ..., endmenu",
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jan Engelhardt authored and Jens Axboe committed Jul 10, 2007
1 parent 5f5c926 commit fd11d17
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions drivers/block/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -422,6 +425,4 @@ config ATA_OVER_ETH

source "drivers/s390/block/Kconfig"

endmenu

endif
endif # BLK_DEV

0 comments on commit fd11d17

Please sign in to comment.