From: Jan Engelhardt Use menuconfigs instead of menus, so the whole menu can be disabled at once instead of going through all options. Signed-off-by: Jan Engelhardt Cc: Bartlomiej Zolnierkiewicz Signed-off-by: Andrew Morton --- drivers/ide/Kconfig | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff -puN drivers/ide/Kconfig~use-menuconfig-objects-ide drivers/ide/Kconfig --- a/drivers/ide/Kconfig~use-menuconfig-objects-ide +++ a/drivers/ide/Kconfig @@ -4,12 +4,9 @@ # Andre Hedrick # -if BLOCK - -menu "ATA/ATAPI/MFM/RLL support" - -config IDE +menuconfig IDE tristate "ATA/ATAPI/MFM/RLL support" + depends on BLOCK ---help--- If you say Y here, your kernel will be able to manage low cost mass storage units such as ATA/(E)IDE and ATAPI units. The most common @@ -1098,8 +1095,4 @@ config BLK_DEV_HD_ONLY config BLK_DEV_HD def_bool BLK_DEV_HD_IDE || BLK_DEV_HD_ONLY -endif - -endmenu - -endif +endif # IDE _