]> bbs.cooldavid.org Git - net-next-2.6.git/commitdiff
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 a047d69d17e23cfc2bdb7c9188d7a28b19d7ac18..668ed2817e51dfce0d6a94324ef95b8f59ddb639 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;
 }