]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[MIPS] Sibyte: Fix typos in sibyte clockevent drivers
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Wed, 17 Oct 2007 15:57:07 +0000 (00:57 +0900)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 17 Oct 2007 17:28:49 +0000 (18:28 +0100)
Fix some typo introduced on clockevent conversion.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sibyte/bcm1480/time.c
arch/mips/sibyte/sb1250/time.c

index 40d7126cd5bff59c94a07017516e294752606c10..5b4bfbbb5a24b053c9176cb1bec5860e894fdd8f 100644 (file)
@@ -84,7 +84,7 @@ static void sibyte_set_mode(enum clock_event_mode mode,
        void __iomem *timer_cfg, *timer_init;
 
        timer_cfg = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
-       timer_init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
+       timer_init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_INIT));
 
        switch (mode) {
        case CLOCK_EVT_MODE_PERIODIC:
index 38199ad8fc5408e59d13022ec2886b1d2227bc05..fe11fed8e0d73e25857678d0c68746d9abb21887 100644 (file)
@@ -83,7 +83,7 @@ static void sibyte_set_mode(enum clock_event_mode mode,
        void __iomem *timer_cfg, *timer_init;
 
        timer_cfg = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
-       timer_init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
+       timer_init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_INIT));
 
        switch(mode) {
        case CLOCK_EVT_MODE_PERIODIC:
@@ -111,7 +111,7 @@ sibyte_next_event(unsigned long delta, struct clock_event_device *evt)
        void __iomem *timer_cfg, *timer_init;
 
        timer_cfg = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
-       timer_init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
+       timer_init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_INIT));
 
        __raw_writeq(0, timer_cfg);
        __raw_writeq(delta, timer_init);
@@ -155,7 +155,7 @@ static void sibyte_set_mode(enum clock_event_mode mode,
        void __iomem *timer_cfg, *timer_init;
 
        timer_cfg = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
-       timer_init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
+       timer_init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_INIT));
 
        switch (mode) {
        case CLOCK_EVT_MODE_PERIODIC:
@@ -183,7 +183,7 @@ sibyte_next_event(unsigned long delta, struct clock_event_device *evt)
        void __iomem *timer_cfg, *timer_init;
 
        timer_cfg = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
-       timer_init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_CFG));
+       timer_init = IOADDR(A_SCD_TIMER_REGISTER(cpu, R_SCD_TIMER_INIT));
 
        __raw_writeq(0, timer_cfg);
        __raw_writeq(delta, timer_init);