diff options
author | Adrian Bunk <bunk@stusta.de> | 2006-03-28 04:56:17 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-28 12:16:02 -0500 |
commit | a687fb18cbd061de2092632cf77e6b9dc93cf7cd (patch) | |
tree | f08f87ec148e3f1fcd6efa01b9ba815803b6f8ab /drivers/block | |
parent | be4676e61f969b624185f14d819adef23d45ffc2 (diff) |
[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>
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/block/Kconfig b/drivers/block/Kconfig index 875ae7699025..ae0949b3394f 100644 --- a/drivers/block/Kconfig +++ b/drivers/block/Kconfig | |||
@@ -383,8 +383,9 @@ config BLK_DEV_RAM | |||
383 | thus say N here. | 383 | thus say N here. |
384 | 384 | ||
385 | config BLK_DEV_RAM_COUNT | 385 | config BLK_DEV_RAM_COUNT |
386 | int "Default number of RAM disks" if BLK_DEV_RAM | 386 | int "Default number of RAM disks" |
387 | default "16" | 387 | default "16" |
388 | depends on BLK_DEV_RAM | ||
388 | help | 389 | help |
389 | The default value is 16 RAM disks. Change this if you know what | 390 | The default value is 16 RAM disks. Change this if you know what |
390 | are doing. If you boot from a filesystem that needs to be extracted | 391 | are doing. If you boot from a filesystem that needs to be extracted |