diff options
-rw-r--r-- | arch/arm/mach-davinci/time.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-davinci/time.c b/arch/arm/mach-davinci/time.c index 9e0b106b4f5f..b21f7633d9a8 100644 --- a/arch/arm/mach-davinci/time.c +++ b/arch/arm/mach-davinci/time.c | |||
@@ -361,13 +361,13 @@ static void __init davinci_timer_init(void) | |||
361 | } | 361 | } |
362 | } | 362 | } |
363 | 363 | ||
364 | /* init timer hw */ | ||
365 | timer_init(); | ||
366 | |||
367 | timer_clk = clk_get(NULL, "timer0"); | 364 | timer_clk = clk_get(NULL, "timer0"); |
368 | BUG_ON(IS_ERR(timer_clk)); | 365 | BUG_ON(IS_ERR(timer_clk)); |
369 | clk_enable(timer_clk); | 366 | clk_enable(timer_clk); |
370 | 367 | ||
368 | /* init timer hw */ | ||
369 | timer_init(); | ||
370 | |||
371 | davinci_clock_tick_rate = clk_get_rate(timer_clk); | 371 | davinci_clock_tick_rate = clk_get_rate(timer_clk); |
372 | 372 | ||
373 | /* setup clocksource */ | 373 | /* setup clocksource */ |