S3C2410: move s3c2410_baseclk_add to clock.h

A patch from »S3C24XX: Remove extern declaration of clk_msysclk« in state Mainline for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Fri, 6 Jan 2012 10:10:51 +0100

Commit-Message

plat-samsung/clock.h currently keeps all the SoC specific clock declarations. As we want to get rid of s3c2410.h altogether, move the s3c2410_baseclk_add there too. Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

arch/arm/plat-samsung/include/plat/clock.h | 3 +++ arch/arm/plat-samsung/include/plat/s3c2410.h | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-)

Statistics

  • 3 lines added
  • 2 lines removed

Changes

------------------ arch/arm/plat-samsung/include/plat/clock.h ------------------
index 956af0b1..16a3c78 100644
@@ -120,6 +120,9 @@ extern void s3c2412_setup_clocks(void);
extern void s3c244x_setup_clocks(void);
extern void s3c2443_setup_clocks(void);
+/* S3C2410 specific clock functions */
+
+extern int s3c2410_baseclk_add(void);
/* S3C2443/S3C2416 specific clock functions */
----------------- arch/arm/plat-samsung/include/plat/s3c2410.h -----------------
index 3986497..55b0e5f 100644
@@ -29,5 +29,3 @@ extern void s3c2410_init_clocks(int xtal);
#define s3c2410_init NULL
#define s3c2410a_init NULL
#endif
-
-extern int s3c2410_baseclk_add(void);
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...