diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c index a047d69d17e23cfc2bdb7c9188d7a28b19d7ac18..668ed2817e51dfce0d6a94324ef95b8f59ddb639 100644 --- a/arch/avr32/kernel/time.c +++ b/arch/avr32/kernel/time.c @@ -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; }