From: Adrian Bunk Date: Tue, 28 Mar 2006 09:56:17 +0000 (-0800) Subject: [PATCH] let BLK_DEV_RAM_COUNT depend on BLK_DEV_RAM X-Git-Tag: v2.6.17-rc1~255 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a687fb18cbd061de2092632cf77e6b9dc93cf7cd;p=linux-2.6 [PATCH] let BLK_DEV_RAM_COUNT depend on BLK_DEV_RAM It's purely cosmetic, but with the patch there's no longer a BLK_DEV_RAM_COUNT setting in the .config if BLK_DEV_RAM=n. Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index 875ae76990..ae0949b339 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig @@ -383,8 +383,9 @@ config BLK_DEV_RAM thus say N here. config BLK_DEV_RAM_COUNT - int "Default number of RAM disks" if BLK_DEV_RAM + int "Default number of RAM disks" default "16" + depends on BLK_DEV_RAM help The default value is 16 RAM disks. Change this if you know what are doing. If you boot from a filesystem that needs to be extracted