Browse Source

ARM: SAMSUNG: Move clock.c to arch/arm/plat-samsung

This is the core implementation of the clock code for all Samsung based
SoCs, so move it to arch/arm/plat-samsung (the clock.h file has already
been moved).

Since the file is built for every Samsung SoC, no changes are needed to the
Kconfig system.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Ben Dooks 15 years ago
parent
commit
2c2f69b15d
3 changed files with 5 additions and 2 deletions
  1. 1 2
      arch/arm/plat-s3c/Makefile
  2. 4 0
      arch/arm/plat-samsung/Makefile
  3. 0 0
      arch/arm/plat-samsung/clock.c

+ 1 - 2
arch/arm/plat-s3c/Makefile

@@ -11,9 +11,8 @@ obj-				:=
 
 # Core support for all Samsung SoCs
 
-obj-y				+=  init.o
+obj-y				+= init.o
 obj-y				+= time.o
-obj-y				+= clock.o
 obj-y				+= pwm-clock.o
 obj-y				+= gpio.o
 obj-y				+= gpio-config.o

+ 4 - 0
arch/arm/plat-samsung/Makefile

@@ -9,4 +9,8 @@ obj-m				:=
 obj-n				:= dummy.o
 obj-				:=
 
+# Objects we always build independent of SoC choice
+
+obj-y				+= clock.o
+
 obj-$(CONFIG_SAMSUNG_CLKSRC)	+= clock-clksrc.o

+ 0 - 0
arch/arm/plat-s3c/clock.c → arch/arm/plat-samsung/clock.c