diff options
author | Mateusz Krawczuk <m.krawczuk@partner.samsung.com> | 2013-12-28 21:09:16 +0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-07-18 23:24:50 +0400 |
commit | 28dc7ef8cd53f965da47688a52f7afddb00979d2 (patch) | |
tree | 6b2e3441c618cbfcc14c57feef851ccd6c5cb817 /arch/arm/mach-s5pv210/common.h | |
parent | 841586082d84639e206a08f93b29d3fce7769c08 (diff) | |
download | linux-28dc7ef8cd53f965da47688a52f7afddb00979d2.tar.xz |
ARM: S5PV210: Migrate clock handling to Common Clock Framework
This patch migrates the s5pv210 platform to use new clock driver
using Common Clock Framework.
Signed-off-by: Mateusz Krawczuk <m.krawczuk@partner.samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
[t.figa: Rebased and fixed merge conflicts.]
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pv210/common.h')
-rw-r--r-- | arch/arm/mach-s5pv210/common.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pv210/common.h b/arch/arm/mach-s5pv210/common.h index fe1beb54e548..a2e85cb9b471 100644 --- a/arch/arm/mach-s5pv210/common.h +++ b/arch/arm/mach-s5pv210/common.h @@ -14,6 +14,15 @@ #include <linux/reboot.h> +#ifdef CONFIG_COMMON_CLK_S5PV210 +void s5pv210_clk_init(unsigned long xxti_f, unsigned long xusbxti_f, + void __iomem *reg_base); +#else +static inline void s5pv210_clk_init(unsigned long xxti_f, + unsigned long xusbxti_f, + void __iomem *reg_base) {} +#endif + void s5pv210_init_io(struct map_desc *mach_desc, int size); void s5pv210_init_irq(void); |