Skip to content

Commit

Permalink
[PATCH] let BLK_DEV_RAM_COUNT depend on BLK_DEV_RAM
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Adrian Bunk authored and Linus Torvalds committed Mar 28, 2006
1 parent be4676e commit a687fb1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/block/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a687fb1

Please sign in to comment.