浏览代码

[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 <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Adrian Bunk 20 年之前
父节点
当前提交
a687fb18cb
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      drivers/block/Kconfig

+ 2 - 1
drivers/block/Kconfig

@@ -383,8 +383,9 @@ config BLK_DEV_RAM
 	  thus say N here.
 	  thus say N here.
 
 
 config BLK_DEV_RAM_COUNT
 config BLK_DEV_RAM_COUNT
-	int "Default number of RAM disks" if BLK_DEV_RAM
+	int "Default number of RAM disks"
 	default "16"
 	default "16"
+	depends on BLK_DEV_RAM
 	help
 	help
 	  The default value is 16 RAM disks. Change this if you know what
 	  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
 	  are doing. If you boot from a filesystem that needs to be extracted