MIPS: Sibyte: Fix compilation error.
authorMark Mason <mmason@upwardaccess.com>
Wed, 23 Sep 2009 20:35:09 +0000 (13:35 -0700)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 30 Sep 2009 19:47:00 +0000 (21:47 +0200)
Build error introduced by d4f587c67fc39e0030ddd718675e252e208da4d7.

Signed-off-by: Mark Mason <mmason@upwardaccess.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/sibyte/swarm/setup.c

index 623ffc9..5277aac 100644 (file)
@@ -106,7 +106,7 @@ void read_persistent_clock(struct timespec *ts)
                break;
        }
        ts->tv_sec = sec;
-       tv->tv_nsec = 0;
+       ts->tv_nsec = 0;
 }
 
 int rtc_mips_set_time(unsigned long sec)