[ARM] 3784/1: S3C2413: fix config for MACH_S3C2413/MACH_SMDK2413
authorBen Dooks <ben-linux@fluff.org>
Thu, 14 Sep 2006 12:29:13 +0000 (13:29 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 14 Sep 2006 12:29:13 +0000 (13:29 +0100)
Patch from Ben Dooks

These two machines are identical, and supported
by the SMDK2413 configuration. When MACH_SMDK2413
is selected, we must also select MACH_S3C2413
to allow machine_is_smdk2413() or machine_is_s3c2413()
to work.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/Kconfig

index b4171dd43df0ad14986d77e996d37c5f192e0aab..bbd138be6a70779663bd4aa1798f629e4b81e007 100644 (file)
@@ -81,9 +81,17 @@ config SMDK2440_CPU2442
        depends on ARCH_S3C2440
        select CPU_S3C2442
 
+config MACH_S3C2413
+       bool
+       help
+         Internal node for S3C2413 verison of SMDK2413, so that
+         machine_is_s3c2413() will work when MACH_SMDK2413 is
+         selected
+
 config MACH_SMDK2413
        bool "SMDK2413"
        select CPU_S3C2412
+       select MACH_S3C2413
        select MACH_SMDK
        help
          Say Y here if you are using an SMDK2413