diff options
Diffstat (limited to 'include/asm-mips/mach-ip32/mc146818rtc.h')
-rw-r--r-- | include/asm-mips/mach-ip32/mc146818rtc.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/asm-mips/mach-ip32/mc146818rtc.h b/include/asm-mips/mach-ip32/mc146818rtc.h index f5d780ff843f..c28ba8d84076 100644 --- a/include/asm-mips/mach-ip32/mc146818rtc.h +++ b/include/asm-mips/mach-ip32/mc146818rtc.h | |||
@@ -11,7 +11,6 @@ | |||
11 | #ifndef __ASM_MACH_IP32_MC146818RTC_H | 11 | #ifndef __ASM_MACH_IP32_MC146818RTC_H |
12 | #define __ASM_MACH_IP32_MC146818RTC_H | 12 | #define __ASM_MACH_IP32_MC146818RTC_H |
13 | 13 | ||
14 | #include <asm/io.h> | ||
15 | #include <asm/ip32/mace.h> | 14 | #include <asm/ip32/mace.h> |
16 | 15 | ||
17 | #define RTC_PORT(x) (0x70 + (x)) | 16 | #define RTC_PORT(x) (0x70 + (x)) |
@@ -26,8 +25,10 @@ static inline void CMOS_WRITE(unsigned char data, unsigned long addr) | |||
26 | mace->isa.rtc[addr << 8] = data; | 25 | mace->isa.rtc[addr << 8] = data; |
27 | } | 26 | } |
28 | 27 | ||
29 | /* FIXME: Do it right. For now just assume that noone lives in 20th century | 28 | /* |
30 | * and no O2 user in 22th century ;-) */ | 29 | * FIXME: Do it right. For now just assume that noone lives in 20th century |
30 | * and no O2 user in 22th century ;-) | ||
31 | */ | ||
31 | #define mc146818_decode_year(year) ((year) + 2000) | 32 | #define mc146818_decode_year(year) ((year) + 2000) |
32 | 33 | ||
33 | #define RTC_ALWAYS_BCD 0 | 34 | #define RTC_ALWAYS_BCD 0 |