Patchwork mtd: xway_nand: add OF dependency

login
register
mail settings
Submitter Artem Bityutskiy
Date May 8, 2012, 10:53 a.m.
Message ID <1336474436-9755-1-git-send-email-dedekind1@gmail.com>
Download mbox | patch
Permalink /patch/157666/
State New
Headers show

Comments

Artem Bityutskiy - May 8, 2012, 10:53 a.m.
From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

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

Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
---
 drivers/mtd/nand/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
John Crispin - May 8, 2012, 10:55 a.m.
On 08/05/12 12:53, Artem Bityutskiy wrote:
> From: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
>
> xway_nand.c requires OF support - add dependency in Kconfig.
>
> Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>

Thanks

Acked-by: John Crispin <blogic@openwrt.org>

Patch

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