Skip to contentSkip to conversation

let BLK_DEV_RAM_COUNT depend on BLK_DEV_RAM

PATCH New Adrian Bunk 1 participant 1 message Mar 24, 2006 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 let BLK_DEV_RAM_COUNT depend on BLK_DEV_RAM

It's purely cosmetical, but with the patch there's no longer a BLK_DEV_RAM_COUNT setting in the .config if BLK_DEV_RAM=n.

---

This patch was already sent on:
- 18 Mar 2006

drivers/block/Kconfig renamed from drivers/block/Kconfig.old +2 -1
@@ -383,8 +383,9 @@
 	  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