summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-02-11 20:33:13 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-02-11 19:37:03 +0000
commitb887060532b98d8c0f3a1c3169f06f55bb196bd8 (patch)
treea3c290f58c6273acf96eba2bb176567db22520c6
parent90ac7648e0bcbf84a33aed5b15ae6894fda92779 (diff)
[ARM] 4161/1: S3C24XX: fix leakage of plat-s3c24xx Kconfig items
Do not export S3C24XX from plat-s3c24xx on non-s3c24xx systems Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
-rw-r--r--arch/arm/plat-s3c24xx/Kconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/arm/plat-s3c24xx/Kconfig b/arch/arm/plat-s3c24xx/Kconfig
index 97813645b5ee..e22343160634 100644
--- a/arch/arm/plat-s3c24xx/Kconfig
+++ b/arch/arm/plat-s3c24xx/Kconfig
@@ -7,10 +7,12 @@
config PLAT_S3C24XX
bool
depends on ARCH_S3C2410
- default y
+ default y if ARCH_S3C2410
help
Base platform code for any Samsung S3C device
+if PLAT_S3C24XX
+
config CPU_S3C244X
bool
depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
@@ -94,3 +96,4 @@ config MACH_SMDK
help
Common machine code for SMDK2410 and SMDK2440
+endif