summaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-generic/mc146818rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/mach-generic/mc146818rtc.h')
-rw-r--r--include/asm-mips/mach-generic/mc146818rtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/mach-generic/mc146818rtc.h b/include/asm-mips/mach-generic/mc146818rtc.h
index 90c2e6f77faa..0b9a942f079d 100644
--- a/include/asm-mips/mach-generic/mc146818rtc.h
+++ b/include/asm-mips/mach-generic/mc146818rtc.h
@@ -30,7 +30,7 @@ static inline void CMOS_WRITE(unsigned char data, unsigned long addr)
#define RTC_ALWAYS_BCD 1
#ifndef mc146818_decode_year
-#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1970)
+#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900)
#endif
#endif /* __ASM_MACH_GENERIC_MC146818RTC_H */