aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorKyle Spaans <kspaans@uwaterloo.ca>2010-06-08 09:48:22 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-08-02 09:01:42 +0100
commit8c1a1158c98b810d34b469c787840ac16904e5fa (patch)
treeb9d033bc79946ee05c01ecdb05fc2b744f312079 /drivers/mtd/onenand
parent6c49939869c20550512386610ece45aceb65e7f4 (diff)
downloadkernel_samsung_smdk4412-8c1a1158c98b810d34b469c787840ac16904e5fa.zip
kernel_samsung_smdk4412-8c1a1158c98b810d34b469c787840ac16904e5fa.tar.gz
kernel_samsung_smdk4412-8c1a1158c98b810d34b469c787840ac16904e5fa.tar.bz2
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')
-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 9a49d68..3f32289 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.