summaryrefslogtreecommitdiff
path: root/drivers/mtd/onenand/Kconfig
diff options
context:
space:
mode:
authorKyle Spaans <kspaans@uwaterloo.ca>2010-06-08 17:48:22 +0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-02 12:01:42 +0400
commit8c1a1158c98b810d34b469c787840ac16904e5fa (patch)
treeb9d033bc79946ee05c01ecdb05fc2b744f312079 /drivers/mtd/onenand/Kconfig
parent6c49939869c20550512386610ece45aceb65e7f4 (diff)
downloadlinux-8c1a1158c98b810d34b469c787840ac16904e5fa.tar.xz
mtd: remove redundant dependency checks in Kconfig files
Look for dependency checks for "FOO" when inside of an "if FOO" block and remove them. Signed-off-by: Kyle Spaans <kspaans@uwaterloo.ca> Reviewed-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/onenand/Kconfig')
-rw-r--r--drivers/mtd/onenand/Kconfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/onenand/Kconfig b/drivers/mtd/onenand/Kconfig
index 9a49d68ba5f9..3f32289fdbb5 100644
--- a/drivers/mtd/onenand/Kconfig
+++ b/drivers/mtd/onenand/Kconfig
@@ -25,14 +25,14 @@ config MTD_ONENAND_GENERIC
config MTD_ONENAND_OMAP2
tristate "OneNAND on OMAP2/OMAP3 support"
- depends on MTD_ONENAND && (ARCH_OMAP2 || ARCH_OMAP3)
+ depends on ARCH_OMAP2 || ARCH_OMAP3
help
Support for a OneNAND flash device connected to an OMAP2/OMAP3 CPU
via the GPMC memory controller.
config MTD_ONENAND_SAMSUNG
tristate "OneNAND on Samsung SOC controller support"
- depends on MTD_ONENAND && (ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210)
+ depends on ARCH_S3C64XX || ARCH_S5PC100 || ARCH_S5PV210
help
Support for a OneNAND flash device connected to an Samsung SOC
S3C64XX/S5PC1XX controller.