avr32: Fix typo in read_persistent_clock()
authorPeter Huewe <peterhuewe@gmx.de>
Tue, 27 Apr 2010 13:23:01 +0000 (15:23 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 27 Apr 2010 13:26:24 +0000 (15:26 +0200)
Fix fallout from the persistent_clock changes.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/avr32/kernel/time.c

index a047d69..668ed28 100644 (file)
@@ -112,7 +112,7 @@ static struct clock_event_device comparator = {
 
 void read_persistent_clock(struct timespec *ts)
 {
-       ts->tv.sec = mktime(2007, 1, 1, 0, 0, 0);
+       ts->tv_sec = mktime(2007, 1, 1, 0, 0, 0);
        ts->tv_nsec = 0;
 }