diff options
Diffstat (limited to 'arch/arm/mach-spear3xx/spear3xx.c')
-rw-r--r-- | arch/arm/mach-spear3xx/spear3xx.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-spear3xx/spear3xx.c b/arch/arm/mach-spear3xx/spear3xx.c index 826ac20ef1e7..f22419ed74a8 100644 --- a/arch/arm/mach-spear3xx/spear3xx.c +++ b/arch/arm/mach-spear3xx/spear3xx.c | |||
@@ -90,6 +90,8 @@ static void __init spear3xx_timer_init(void) | |||
90 | char pclk_name[] = "pll3_48m_clk"; | 90 | char pclk_name[] = "pll3_48m_clk"; |
91 | struct clk *gpt_clk, *pclk; | 91 | struct clk *gpt_clk, *pclk; |
92 | 92 | ||
93 | spear3xx_clk_init(); | ||
94 | |||
93 | /* get the system timer clock */ | 95 | /* get the system timer clock */ |
94 | gpt_clk = clk_get_sys("gpt0", NULL); | 96 | gpt_clk = clk_get_sys("gpt0", NULL); |
95 | if (IS_ERR(gpt_clk)) { | 97 | if (IS_ERR(gpt_clk)) { |
@@ -109,7 +111,7 @@ static void __init spear3xx_timer_init(void) | |||
109 | clk_put(gpt_clk); | 111 | clk_put(gpt_clk); |
110 | clk_put(pclk); | 112 | clk_put(pclk); |
111 | 113 | ||
112 | spear_setup_timer(SPEAR3XX_CPU_TMR_BASE, SPEAR3XX_IRQ_CPU_GPT1_1); | 114 | spear_setup_of_timer(); |
113 | } | 115 | } |
114 | 116 | ||
115 | struct sys_timer spear3xx_timer = { | 117 | struct sys_timer spear3xx_timer = { |