Skip to content

Commit a687fb1

Browse files
AdrianBunkLinus Torvalds
authored andcommitted
[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>
1 parent be4676e commit a687fb1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎drivers/block/Kconfig‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,8 +383,9 @@ config BLK_DEV_RAM
383383
thus say N here.
384384

385385
config BLK_DEV_RAM_COUNT
386-
int "Default number of RAM disks" if BLK_DEV_RAM
386+
int "Default number of RAM disks"
387387
default "16"
388+
depends on BLK_DEV_RAM
388389
help
389390
The default value is 16 RAM disks. Change this if you know what
390391
are doing. If you boot from a filesystem that needs to be extracted

0 commit comments

Comments
 (0)