summaryrefslogtreecommitdiffstats
path: root/arch/m68k/68000/timers.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/m68k/68000/timers.c')
-rw-r--r--arch/m68k/68000/timers.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/m68k/68000/timers.c b/arch/m68k/68000/timers.c
index 252455bce144..71ddb4c98726 100644
--- a/arch/m68k/68000/timers.c
+++ b/arch/m68k/68000/timers.c
@@ -125,7 +125,9 @@ int m68328_hwclk(int set, struct rtc_time *t)
{
if (!set) {
long now = RTCTIME;
- t->tm_year = t->tm_mon = t->tm_mday = 1;
+ t->tm_year = 1;
+ t->tm_mon = 0;
+ t->tm_mday = 1;
t->tm_hour = (now >> 24) % 24;
t->tm_min = (now >> 16) % 60;
t->tm_sec = now % 60;