[PATCH] mtd: xway_nand: add OF dependency

Artem Bityutskiy dedekind1 at gmail.com
Tue May 8 06:53:56 EDT 2012


From: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>

xway_nand.c requires OF support - add dependency in Kconfig.

Signed-off-by: Artem Bityutskiy <artem.bityutskiy at linux.intel.com>
---
 drivers/mtd/nand/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index fd4d064..eacf379 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -569,7 +569,7 @@ config MTD_NAND_FSMC
 
 config MTD_NAND_XWAY
 	tristate "Support for NAND on Lantiq XWAY SoC"
-	depends on LANTIQ && SOC_TYPE_XWAY
+	depends on LANTIQ && SOC_TYPE_XWAY && OF
 	select MTD_NAND_PLATFORM
 	help
 	  Enables support for NAND Flash chips on Lantiq XWAY SoCs. NAND is attached
-- 
1.7.9.1




More information about the linux-mtd mailing list