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>
@@ -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
depends on ARCH_S3C2410 && (CPU_S3C2440 || CPU_S3C2442)
@@ -94,3 +96,4 @@ config MACH_SMDK
Common machine code for SMDK2410 and SMDK2440
+endif