summaryrefslogtreecommitdiff
path: root/include/asm-mips/mach-mips/mc146818rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-mips/mach-mips/mc146818rtc.h')
-rw-r--r--include/asm-mips/mach-mips/mc146818rtc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-mips/mach-mips/mc146818rtc.h b/include/asm-mips/mach-mips/mc146818rtc.h
index 6730ba066576..ea612f37f614 100644
--- a/include/asm-mips/mach-mips/mc146818rtc.h
+++ b/include/asm-mips/mach-mips/mc146818rtc.h
@@ -43,6 +43,6 @@ static inline void CMOS_WRITE(unsigned char data, unsigned long addr)
#define RTC_ALWAYS_BCD 0
-#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1970)
+#define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900)
#endif /* __ASM_MACH_MALTA_MC146818RTC_H */