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)  	char pclk_name[] = "pll3_48m_clk";  	struct clk *gpt_clk, *pclk; +	spear3xx_clk_init(); +  	/* get the system timer clock */  	gpt_clk = clk_get_sys("gpt0", NULL);  	if (IS_ERR(gpt_clk)) { @@ -109,7 +111,7 @@ static void __init spear3xx_timer_init(void)  	clk_put(gpt_clk);  	clk_put(pclk); -	spear_setup_timer(SPEAR3XX_CPU_TMR_BASE, SPEAR3XX_IRQ_CPU_GPT1_1); +	spear_setup_of_timer();  }  struct sys_timer spear3xx_timer = {  |