mtd: mxc_nand: Select the driver via ARCH_MXC
Linux-MTD Mailing List
linux-mtd at lists.infradead.org
Mon Jul 16 16:59:01 EDT 2012
Gitweb: http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=4d363b5518dd6298b39653919828eb7d9061488c
Commit: 4d363b5518dd6298b39653919828eb7d9061488c
Parent: 79f9df7c0027742ae7c913367b6d88dec242fa63
Author: Fabio Estevam <fabio.estevam at freescale.com>
AuthorDate: Mon Jul 2 19:00:19 2012 -0300
Committer: David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Mon Jul 16 21:34:37 2012 +0100
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 at freescale.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig at pengutronix.de>
Acked-by: Sascha Hauer <s.hauer at pengutronix.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy at linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse at 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 adee468..f4e81a7 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -532,7 +532,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.
More information about the linux-mtd-cvs
mailing list