mtd/maps: uclinux: depend on MTD_RAM being built into the kernel
authorMike Frysinger <vapier@gentoo.org>
Tue, 9 Jun 2009 10:37:18 +0000 (10:37 +0000)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 19 Sep 2009 18:47:12 +0000 (11:47 -0700)
If MTD_RAM is built as a module, the uClinux map does not work since it
can only be built in to the kernel.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/maps/Kconfig

index 7a58bd5522fd736a83584acaf9a9472b4a57e876..0f314eb430c10940bd339c6409e46ed9461302c7 100644 (file)
@@ -486,7 +486,7 @@ config MTD_BFIN_ASYNC
 
 config MTD_UCLINUX
        bool "Generic uClinux RAM/ROM filesystem support"
-       depends on MTD_PARTITIONS && MTD_RAM && !MMU
+       depends on MTD_PARTITIONS && MTD_RAM=y && !MMU
        help
          Map driver to support image based filesystems for uClinux.