diff options
Diffstat (limited to 'arch/arm/mach-footbridge/dc21285-timer.c')
| -rw-r--r-- | arch/arm/mach-footbridge/dc21285-timer.c | 6 | 
1 files changed, 1 insertions, 5 deletions
diff --git a/arch/arm/mach-footbridge/dc21285-timer.c b/arch/arm/mach-footbridge/dc21285-timer.c index 3b54196447c..a9918b691a8 100644 --- a/arch/arm/mach-footbridge/dc21285-timer.c +++ b/arch/arm/mach-footbridge/dc21285-timer.c @@ -101,12 +101,8 @@ static void __init footbridge_timer_init(void)  	setup_irq(ce->irq, &footbridge_timer_irq); -	clockevents_calc_mult_shift(ce, mem_fclk_21285, 5); -	ce->max_delta_ns = clockevent_delta2ns(0xffffff, ce); -	ce->min_delta_ns = clockevent_delta2ns(0x000004, ce);  	ce->cpumask = cpumask_of(smp_processor_id()); - -	clockevents_register_device(ce); +	clockevents_config_and_register(ce, mem_fclk_21285, 0x4, 0xffffff);  }  struct sys_timer footbridge_timer = {  |