Patchwork MTD: nand: Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS

login
register
mail settings
Submitter Datta, Shubhrajyoti
Date Nov. 16, 2011, 5:18 a.m.
Message ID <1321420680-4677-1-git-send-email-shubhrajyoti@ti.com>
Download mbox | patch
Permalink /patch/125936/
State New
Headers show

Comments

Datta, Shubhrajyoti - Nov. 16, 2011, 5:18 a.m.
Making  MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS instead of
oring with ARCH2/3/4.

Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
---
 drivers/mtd/nand/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Artem Bityutskiy - Nov. 17, 2011, 10:15 p.m.
On Wed, 2011-11-16 at 10:48 +0530, Shubhrajyoti D wrote:
> Making  MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS instead of
> oring with ARCH2/3/4.
> 
> Reported-by: Russell King <rmk+kernel@arm.linux.org.uk>
> Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>

Pushed to l2-mtd-2.6, thanks!

Artem.

Patch

diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig
index cce7b70..b68dd5e 100644
--- a/drivers/mtd/nand/Kconfig
+++ b/drivers/mtd/nand/Kconfig
@@ -110,7 +110,7 @@  config MTD_NAND_AMS_DELTA
 
 config MTD_NAND_OMAP2
 	tristate "NAND Flash device on OMAP2, OMAP3 and OMAP4"
-	depends on ARM && (ARCH_OMAP2 || ARCH_OMAP3 || ARCH_OMAP4)
+	depends on ARCH_OMAP2PLUS
 	help
           Support for NAND flash on Texas Instruments OMAP2, OMAP3 and OMAP4
 	  platforms.