]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: S3C24XX: move plat-s3c24xx/cpu.c
authorHeiko Stuebner <heiko@sntech.de>
Sat, 12 May 2012 07:22:17 +0000 (16:22 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sat, 12 May 2012 07:22:17 +0000 (16:22 +0900)
Following the model of s3c64xx cpu.c becomes common.c in mach-s3c24xx,
to got more common code added later on.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-s3c24xx/Makefile
arch/arm/mach-s3c24xx/common.c [moved from arch/arm/plat-s3c24xx/cpu.c with 99% similarity]
arch/arm/plat-s3c24xx/Makefile

index 3518fe812d5f73b183d1fae156a821a0b947eb82..b081db7860d84974a3e64159aa3ed1b8c6893a78 100644 (file)
@@ -14,6 +14,8 @@ obj-                          :=
 
 # core
 
+obj-y                          += common.o
+
 obj-$(CONFIG_CPU_S3C2410)      += s3c2410.o
 obj-$(CONFIG_S3C2410_DMA)      += dma-s3c2410.o
 obj-$(CONFIG_S3C2410_PM)       += pm-s3c2410.o sleep-s3c2410.o
similarity index 99%
rename from arch/arm/plat-s3c24xx/cpu.c
rename to arch/arm/mach-s3c24xx/common.c
index 290942d9adda6a1557e3cb6b7b12c98bd2795cb1..dc9927b13746dae7a5b8677f5238698cc6534e56 100644 (file)
@@ -4,7 +4,7 @@
  *     http://www.simtec.co.uk/products/SWLINUX/
  *     Ben Dooks <ben@simtec.co.uk>
  *
- * S3C24XX CPU Support
+ * Common code for S3C24XX machines
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
index 2467b800cc768416de3e0f93eba09b799421ee8d..f7fe935b8525d027e7774586390ea6e8bb8eb6aa 100644 (file)
@@ -12,7 +12,6 @@ obj-                          :=
 
 # Core files
 
-obj-y                          += cpu.o
 obj-y                          += irq.o
 obj-y                          += dev-uart.o
 obj-y                          += clock.o