Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[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>

authored by

Adrian Bunk and committed by
Linus Torvalds
a687fb18 be4676e6

+2 -1
+2 -1
drivers/block/Kconfig
··· 383 383 thus say N here. 384 384 385 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 387 default "16" 388 + depends on BLK_DEV_RAM 388 389 help 389 390 The default value is 16 RAM disks. Change this if you know what 390 391 are doing. If you boot from a filesystem that needs to be extracted