aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/sibyte/bcm1480
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-10-29 07:36:24 -0400
committerRalf Baechle <ralf@linux-mips.org>2007-10-29 15:35:36 -0400
commit1238d5d868a56dcbc743d3ffc9bd3c920258b4cb (patch)
tree2520f316ed1cbadc7db52504b48b1e10ef86025c /arch/mips/sibyte/bcm1480
parent3a6c43a78763da67d4049745ce35122734e89fbc (diff)
[MIPS] time: Fix cut'n'paste bug in Sibyte clockevent driver.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sibyte/bcm1480')
-rw-r--r--arch/mips/sibyte/bcm1480/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sibyte/bcm1480/time.c b/arch/mips/sibyte/bcm1480/time.c
index 699b5d242dd8..bbf19bfabccb 100644
--- a/arch/mips/sibyte/bcm1480/time.c
+++ b/arch/mips/sibyte/bcm1480/time.c
@@ -119,7 +119,7 @@ void __cpuinit sb1480_clockevent_init(void)
119 sprintf(name, "bcm1480-counter %d", cpu); 119 sprintf(name, "bcm1480-counter %d", cpu);
120 cd->name = name; 120 cd->name = name;
121 cd->features = CLOCK_EVT_FEAT_PERIODIC | 121 cd->features = CLOCK_EVT_FEAT_PERIODIC |
122 CLOCK_EVT_MODE_ONESHOT; 122 CLOCK_EVT_FEAT_ONESHOT;
123 clockevent_set_clock(cd, V_SCD_TIMER_FREQ); 123 clockevent_set_clock(cd, V_SCD_TIMER_FREQ);
124 cd->max_delta_ns = clockevent_delta2ns(0x7fffff, cd); 124 cd->max_delta_ns = clockevent_delta2ns(0x7fffff, cd);
125 cd->min_delta_ns = clockevent_delta2ns(1, cd); 125 cd->min_delta_ns = clockevent_delta2ns(1, cd);