diff mbox

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

Message ID 1247578082-6474-1-git-send-email-vapier@gentoo.org
State Accepted
Commit 1b533d227e5f8356d2f009f90b8c8c1f02eb71b8
Headers show

Commit Message

Mike Frysinger July 14, 2009, 1:28 p.m. UTC
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>
---
 drivers/mtd/maps/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/drivers/mtd/maps/Kconfig b/drivers/mtd/maps/Kconfig
index 0b98654..b98c7f8 100644
--- a/drivers/mtd/maps/Kconfig
+++ b/drivers/mtd/maps/Kconfig
@@ -493,7 +493,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.