]> Git Repo - linux.git/commitdiff
avr32: Fix typo in read_persistent_clock()
authorPeter Huewe <[email protected]>
Tue, 27 Apr 2010 13:23:01 +0000 (15:23 +0200)
committerThomas Gleixner <[email protected]>
Tue, 27 Apr 2010 13:26:24 +0000 (15:26 +0200)
Fix fallout from the persistent_clock changes.

Signed-off-by: Peter Huewe <[email protected]>
Cc: John Stultz <[email protected]>
Cc: Haavard Skinnemoen <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
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;
 }
 
This page took 0.050605 seconds and 4 git commands to generate.