Browse Source

ARM: S3C64XX: Move if ARCH_S3C64XX statement into mach-s3c64xx

All other platforms have this condition checked inside their own Kconfig
files, so for consistency this patch makes it this way for mach-s3c64xx
as well.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Tomasz Figa 11 years ago
parent
commit
d2193ce2ce
2 changed files with 4 additions and 2 deletions
  1. 0 2
      arch/arm/Kconfig
  2. 4 0
      arch/arm/mach-s3c64xx/Kconfig

+ 0 - 2
arch/arm/Kconfig

@@ -1009,9 +1009,7 @@ source "arch/arm/mach-sti/Kconfig"
 
 source "arch/arm/mach-s3c24xx/Kconfig"
 
-if ARCH_S3C64XX
 source "arch/arm/mach-s3c64xx/Kconfig"
-endif
 
 source "arch/arm/mach-s5p64x0/Kconfig"
 

+ 4 - 0
arch/arm/mach-s3c64xx/Kconfig

@@ -3,6 +3,8 @@
 #
 # Licensed under GPLv2
 
+if ARCH_S3C64XX
+
 # temporary until we can eliminate all drivers using it.
 config PLAT_S3C64XX
 	bool
@@ -306,3 +308,5 @@ config MACH_WLF_CRAGG_6410
 	select SAMSUNG_GPIO_EXTRA128
 	help
 	  Machine support for the Wolfson Cragganmore S3C6410 variant.
+
+endif