linux-mips
[Top] [All Lists]

[PATCH] mtd: xway_nand: add OF dependency

To: John Crispin <blogic@openwrt.org>
Subject: [PATCH] mtd: xway_nand: add OF dependency
From: Artem Bityutskiy <dedekind1@gmail.com>
Date: Tue, 8 May 2012 13:53:56 +0300
Cc: MTD Maling List <linux-mtd@lists.infradead.org>, MIPS Mailing List <linux-mips@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
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(-)

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


<Prev in Thread] Current Thread [Next in Thread>