]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] time: Fix cut'n'paste bug in Sibyte clockevent driver.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 29 Oct 2007 11:36:24 +0000 (11:36 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 29 Oct 2007 19:35:36 +0000 (19:35 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sibyte/bcm1480/time.c
arch/mips/sibyte/sb1250/time.c

index 699b5d242dd89c820953858a4ce437aa2136ff8a..bbf19bfabccb54d13e416bd4d1da4b298d809720 100644 (file)
@@ -119,7 +119,7 @@ void __cpuinit sb1480_clockevent_init(void)
        sprintf(name, "bcm1480-counter %d", cpu);
        cd->name                = name;
        cd->features            = CLOCK_EVT_FEAT_PERIODIC |
-                                 CLOCK_EVT_MODE_ONESHOT;
+                                 CLOCK_EVT_FEAT_ONESHOT;
        clockevent_set_clock(cd, V_SCD_TIMER_FREQ);
        cd->max_delta_ns        = clockevent_delta2ns(0x7fffff, cd);
        cd->min_delta_ns        = clockevent_delta2ns(1, cd);
index f7f455a58874b4a998fb355e601e5a120bff8419..95ad34e3fbaca017b953301f3d1f1dba5cb3963d 100644 (file)
@@ -137,7 +137,7 @@ void __cpuinit sb1250_clockevent_init(void)
        sprintf(name, "bcm1480-counter %d", cpu);
        cd->name                = name;
        cd->features            = CLOCK_EVT_FEAT_PERIODIC |
-                                 CLOCK_EVT_MODE_ONESHOT;
+                                 CLOCK_EVT_FEAT_ONESHOT;
        clockevent_set_clock(cd, V_SCD_TIMER_FREQ);
        cd->max_delta_ns        = clockevent_delta2ns(0x7fffff, cd);
        cd->min_delta_ns        = clockevent_delta2ns(1, cd);