mtd: nand: Making MTD_NAND_OMAP2 depend on ARCH_OMAP2PLUS
authorShubhrajyoti D <shubhrajyoti@ti.com>
Wed, 16 Nov 2011 05:18:00 +0000 (10:48 +0530)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 9 Jan 2012 18:07:04 +0000 (18:07 +0000)
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>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/Kconfig

index cce7b70824c35076957664218e09c9a4e196a41c..07c47749ffa692072412cdeb816073fec93db27c 100644 (file)
@@ -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.