diff options
Diffstat (limited to 'include/asm-mips/mach-rm/mc146818rtc.h')
-rw-r--r-- | include/asm-mips/mach-rm/mc146818rtc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-mips/mach-rm/mc146818rtc.h b/include/asm-mips/mach-rm/mc146818rtc.h new file mode 100644 index 000000000000..d37ae68dc6a3 --- /dev/null +++ b/include/asm-mips/mach-rm/mc146818rtc.h | |||
@@ -0,0 +1,17 @@ | |||
1 | /* | ||
2 | * This file is subject to the terms and conditions of the GNU General Public | ||
3 | * License. See the file "COPYING" in the main directory of this archive | ||
4 | * for more details. | ||
5 | * | ||
6 | * Copyright (C) 2004 by Ralf Baechle | ||
7 | * | ||
8 | * RTC routines for PC style attached Dallas chip with ARC epoch. | ||
9 | */ | ||
10 | #ifndef __ASM_MACH_RM200_MC146818RTC_H | ||
11 | #define __ASM_MACH_RM200_MC146818RTC_H | ||
12 | |||
13 | #define mc146818_decode_year(year) ((year) + 1980) | ||
14 | |||
15 | #include_next <mc146818rtc.h> | ||
16 | |||
17 | #endif /* __ASM_MACH_RM200_MC146818RTC_H */ | ||