mtd/maps: uclinux: depend on MTD_RAM being built into the kernel

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sat Sep 19 17:59:01 EDT 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=1b533d227e5f8356d2f009f90b8c8c1f02eb71b8
Commit:     1b533d227e5f8356d2f009f90b8c8c1f02eb71b8
Parent:     3ff230a742b8fc196c1fe69875a57a429877cacb
Author:     Mike Frysinger <vapier at gentoo.org>
AuthorDate: Tue Jun 9 10:37:18 2009 +0000
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sat Sep 19 11:47:12 2009 -0700

    mtd/maps: uclinux: depend on MTD_RAM being built into the kernel
    
    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 at gentoo.org>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.com>
---
 drivers/mtd/maps/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 7a58bd5..0f314eb 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -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.
 



More information about the linux-mtd-cvs mailing list