mtd: mxc_nand: Select the driver via ARCH_MXC
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 2 Jul 2012 22:00:19 +0000 (19:00 -0300)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 16 Jul 2012 20:34:37 +0000 (21:34 +0100)
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>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/Kconfig

index adee4681f98fc1cce4adb1f571636eb78491c45e..f4e81a7742b8d082338f1edbc0999315849c4b7a 100644 (file)
@@ -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.