]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: SAMSUNG: Move clock.c to arch/arm/plat-samsung
authorBen Dooks <ben-linux@fluff.org>
Wed, 23 Dec 2009 18:43:48 +0000 (18:43 +0000)
committerBen Dooks <ben-linux@fluff.org>
Fri, 15 Jan 2010 08:10:11 +0000 (17:10 +0900)
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>
arch/arm/plat-s3c/Makefile
arch/arm/plat-samsung/Makefile
arch/arm/plat-samsung/clock.c [moved from arch/arm/plat-s3c/clock.c with 100% similarity]

index 50444da98425663d41527a84bfdb62371fd3e15a..99f91ad1d55579ee43841a2bf39387ce1a24992b 100644 (file)
@@ -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
index ce736ce468fdcbd2616d7b9960cd9465cd164ed2..7612198bfa59fb0ba1c327be7b9995f9b0ec484e 100644 (file)
@@ -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