diff options
author | Heiko Stuebner <heiko@sntech.de> | 2012-01-27 02:22:57 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2012-01-31 06:06:43 -0500 |
commit | 507164d22357b26ac73411f42765054045ca0b76 (patch) | |
tree | 7d4f63bc85733043f11af10604e8031ab4e6344d /arch/arm | |
parent | 4083da3dcd1901394036e81f858abb2257c7c772 (diff) |
ARM: S3C2410: move s3c2410_baseclk_add to clock.h
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@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/clock.h | 4 | ||||
-rw-r--r-- | arch/arm/plat-samsung/include/plat/s3c2410.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/plat-samsung/include/plat/clock.h b/arch/arm/plat-samsung/include/plat/clock.h index 42bbe3d99539..3b5a9dcc29c5 100644 --- a/arch/arm/plat-samsung/include/plat/clock.h +++ b/arch/arm/plat-samsung/include/plat/clock.h | |||
@@ -120,6 +120,10 @@ extern void s3c2412_setup_clocks(void); | |||
120 | extern void s3c244x_setup_clocks(void); | 120 | extern void s3c244x_setup_clocks(void); |
121 | extern void s3c2443_setup_clocks(void); | 121 | extern void s3c2443_setup_clocks(void); |
122 | 122 | ||
123 | /* S3C2410 specific clock functions */ | ||
124 | |||
125 | extern int s3c2410_baseclk_add(void); | ||
126 | |||
123 | /* S3C2443/S3C2416 specific clock functions */ | 127 | /* S3C2443/S3C2416 specific clock functions */ |
124 | 128 | ||
125 | typedef unsigned int (*pll_fn)(unsigned int reg, unsigned int base); | 129 | typedef unsigned int (*pll_fn)(unsigned int reg, unsigned int base); |
diff --git a/arch/arm/plat-samsung/include/plat/s3c2410.h b/arch/arm/plat-samsung/include/plat/s3c2410.h index 3986497dd3f7..55b0e5f51e97 100644 --- a/arch/arm/plat-samsung/include/plat/s3c2410.h +++ b/arch/arm/plat-samsung/include/plat/s3c2410.h | |||
@@ -29,5 +29,3 @@ extern void s3c2410_init_clocks(int xtal); | |||
29 | #define s3c2410_init NULL | 29 | #define s3c2410_init NULL |
30 | #define s3c2410a_init NULL | 30 | #define s3c2410a_init NULL |
31 | #endif | 31 | #endif |
32 | |||
33 | extern int s3c2410_baseclk_add(void); | ||