Commit e9ddbc07 authored by Peter Huewe's avatar Peter Huewe Committed by Thomas Gleixner

avr32: Fix typo in read_persistent_clock()

Fix fallout from the persistent_clock changes.
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent f5c9c9be
...@@ -112,7 +112,7 @@ static struct clock_event_device comparator = { ...@@ -112,7 +112,7 @@ static struct clock_event_device comparator = {
void read_persistent_clock(struct timespec *ts) 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; ts->tv_nsec = 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment