diff options
author | Viresh Kumar <viresh.kumar@st.com> | 2012-04-09 23:32:35 -0400 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2012-05-12 15:44:12 -0400 |
commit | 5df33a62c4a028d6fc7f2dcc159827d09b7334b8 (patch) | |
tree | f4da61ce3bf14e9bf4a1dae3188109a6de34f708 /arch/arm/mach-spear3xx/spear3xx.c | |
parent | f8abc080d33e69dfa2c3dd0f84c31832e2679091 (diff) |
SPEAr: Switch to common clock framework
SPEAr SoCs used its own clock framework since now. From now on they will move to
use common clock framework.
This patch updates existing SPEAr machine support to adapt for common clock
framework.
Signed-off-by: Viresh Kumar <viresh.kumar@st.com>
Reviewed-by: Mike Turquette <mturquette@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-spear3xx/spear3xx.c')
-rw-r--r-- | arch/arm/mach-spear3xx/spear3xx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-spear3xx/spear3xx.c b/arch/arm/mach-spear3xx/spear3xx.c index b1733c37f209..2625ab9a6c8b 100644 --- a/arch/arm/mach-spear3xx/spear3xx.c +++ b/arch/arm/mach-spear3xx/spear3xx.c | |||
@@ -511,6 +511,8 @@ static void __init spear3xx_timer_init(void) | |||
511 | char pclk_name[] = "pll3_48m_clk"; | 511 | char pclk_name[] = "pll3_48m_clk"; |
512 | struct clk *gpt_clk, *pclk; | 512 | struct clk *gpt_clk, *pclk; |
513 | 513 | ||
514 | spear3xx_clk_init(); | ||
515 | |||
514 | /* get the system timer clock */ | 516 | /* get the system timer clock */ |
515 | gpt_clk = clk_get_sys("gpt0", NULL); | 517 | gpt_clk = clk_get_sys("gpt0", NULL); |
516 | if (IS_ERR(gpt_clk)) { | 518 | if (IS_ERR(gpt_clk)) { |