![]() |
|
|||
0001 /* 0002 * This file is subject to the terms and conditions of the GNU General Public 0003 * License. See the file "COPYING" in the main directory of this archive 0004 * for more details. 0005 * 0006 * Copyright (C) 2004 by Ralf Baechle 0007 * 0008 * RTC routines for PC style attached Dallas chip with ARC epoch. 0009 */ 0010 #ifndef __ASM_MACH_RM_MC146818RTC_H 0011 #define __ASM_MACH_RM_MC146818RTC_H 0012 0013 #ifdef CONFIG_CPU_BIG_ENDIAN 0014 #define mc146818_decode_year(year) ((year) < 70 ? (year) + 2000 : (year) + 1900) 0015 #else 0016 #define mc146818_decode_year(year) ((year) + 1980) 0017 #endif 0018 0019 #include <asm/mach-generic/mc146818rtc.h> 0020 0021 #endif /* __ASM_MACH_RM_MC146818RTC_H */
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.1.0 LXR engine. The LXR team |
![]() ![]() |