summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Huewe <peterhuewe@gmx.de>2010-04-27 15:23:01 +0200
committerThomas Gleixner <tglx@linutronix.de>2010-04-27 15:26:24 +0200
commite9ddbc075d95b2edf111247cdde16f33c31654a8 (patch)
treed88bcd0c70445fad70650ea3b48c7686ba24a30d
parentf5c9c9be267f73eda6a668ac81ddde56ed7fa793 (diff)
downloadlinux-e9ddbc075d95b2edf111247cdde16f33c31654a8.tar.gz
linux-e9ddbc075d95b2edf111247cdde16f33c31654a8.tar.bz2
linux-e9ddbc075d95b2edf111247cdde16f33c31654a8.zip
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>
-rw-r--r--arch/avr32/kernel/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/kernel/time.c b/arch/avr32/kernel/time.c
index a047d69d17e2..668ed2817e51 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;
}