From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-gh0-f177.google.com ([209.85.160.177]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1SloeT-0003Y8-J8 for linux-mtd@lists.infradead.org; Mon, 02 Jul 2012 21:59:26 +0000 Received: by ghbf11 with SMTP id f11so4992883ghb.36 for ; Mon, 02 Jul 2012 14:59:21 -0700 (PDT) From: Fabio Estevam To: dwmw2@infradead.org Subject: Date: Mon, 2 Jul 2012 18:59:11 -0300 Message-Id: <1341266351-21210-1-git-send-email-festevam@gmail.com> Cc: Fabio Estevam , artem.bityutskiy@linux.intel.com, shawn.guo@linaro.org, linux-mtd@lists.infradead.org, kernel@pengutronix.de List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Fabio Estevam 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 --- 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