public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* (no subject)
@ 2012-07-02 21:59 Fabio Estevam
  0 siblings, 0 replies; only message in thread
From: Fabio Estevam @ 2012-07-02 21:59 UTC (permalink / raw)
  To: dwmw2; +Cc: Fabio Estevam, artem.bityutskiy, shawn.guo, linux-mtd, kernel

From: Fabio Estevam <fabio.estevam@freescale.com>

Subject: [PATCH] mtd: mxc_nand: Select the driver via ARCH_MXC

With device tree support in place, we should not use IMX_HAVE_PLATFORM_MXC_NAND
as a dependency for selecting the mxc_nand driver.

Use ARCH_MXC symbol instead, so that the driver can be even selected when a single device-tree
machine is selected.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.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 de69978..d2a0db1 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -521,7 +521,7 @@ config MTD_NAND_MPC5121_NFC
 
 config MTD_NAND_MXC
 	tristate "MXC NAND support"
-	depends on IMX_HAVE_PLATFORM_MXC_NAND
+	depends on ARCH_MXC
 	help
 	  This enables the driver for the NAND flash controller on the
 	  MXC processors.
-- 
1.7.1

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-07-02 21:59 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-02 21:59 Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox