]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Fix initrd Kconfig dependencies
authorAndrew Morton <akpm@osdl.org>
Sat, 6 Mar 2004 16:49:21 +0000 (08:49 -0800)
committerJaroslav Kysela <perex@suse.cz>
Sat, 6 Mar 2004 16:49:21 +0000 (08:49 -0800)
From: "Jim Gifford" <maillist@jg555.com>

Prevent initrd from being built if ram device is built as a module.

drivers/block/Kconfig

index 375ac6aaf41f2e2206b5480e8240042b512b965f..b074fe2bdd041a24c92a36dd6f6225fcdb7deb89 100644 (file)
@@ -321,6 +321,7 @@ config BLK_DEV_RAM_SIZE
 
 config BLK_DEV_INITRD
        bool "Initial RAM disk (initrd) support"
+       depends on BLK_DEV_RAM && BLK_DEV_RAM!=m
        help
          The initial RAM disk is a RAM disk that is loaded by the boot loader
          (loadlin or lilo) and that is mounted as root before the normal boot