avr32: Fix typo in read_persistent_clock()
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>
diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c
index a047d69..668ed28 100644
--- a/arch/avr32/kernel/time.c
+++ b/arch/avr32/kernel/time.c
@@ -112,7 +112,7 @@
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;
}