Commit 1238d5d8 authored by Ralf Baechle's avatar Ralf Baechle

[MIPS] time: Fix cut'n'paste bug in Sibyte clockevent driver.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 3a6c43a7
...@@ -119,7 +119,7 @@ void __cpuinit sb1480_clockevent_init(void) ...@@ -119,7 +119,7 @@ void __cpuinit sb1480_clockevent_init(void)
sprintf(name, "bcm1480-counter %d", cpu); sprintf(name, "bcm1480-counter %d", cpu);
cd->name = name; cd->name = name;
cd->features = CLOCK_EVT_FEAT_PERIODIC | cd->features = CLOCK_EVT_FEAT_PERIODIC |
CLOCK_EVT_MODE_ONESHOT; CLOCK_EVT_FEAT_ONESHOT;
clockevent_set_clock(cd, V_SCD_TIMER_FREQ); clockevent_set_clock(cd, V_SCD_TIMER_FREQ);
cd->max_delta_ns = clockevent_delta2ns(0x7fffff, cd); cd->max_delta_ns = clockevent_delta2ns(0x7fffff, cd);
cd->min_delta_ns = clockevent_delta2ns(1, cd); cd->min_delta_ns = clockevent_delta2ns(1, cd);
......
...@@ -137,7 +137,7 @@ void __cpuinit sb1250_clockevent_init(void) ...@@ -137,7 +137,7 @@ void __cpuinit sb1250_clockevent_init(void)
sprintf(name, "bcm1480-counter %d", cpu); sprintf(name, "bcm1480-counter %d", cpu);
cd->name = name; cd->name = name;
cd->features = CLOCK_EVT_FEAT_PERIODIC | cd->features = CLOCK_EVT_FEAT_PERIODIC |
CLOCK_EVT_MODE_ONESHOT; CLOCK_EVT_FEAT_ONESHOT;
clockevent_set_clock(cd, V_SCD_TIMER_FREQ); clockevent_set_clock(cd, V_SCD_TIMER_FREQ);
cd->max_delta_ns = clockevent_delta2ns(0x7fffff, cd); cd->max_delta_ns = clockevent_delta2ns(0x7fffff, cd);
cd->min_delta_ns = clockevent_delta2ns(1, cd); cd->min_delta_ns = clockevent_delta2ns(1, cd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment