wavelan_cs arm fix
[pv_ops_mirror.git] / include / asm-mn10300 / rtc.h
blobc295194cc70330b3da8a34fe0db05e2f34a76044
1 /* MN10300 Real time clock definitions
3 * Copyright (C) 2007 Matsushita Electric Industrial Co., Ltd.
4 * Copyright (C) 2007 Red Hat, Inc. All Rights Reserved.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public Licence
8 * as published by the Free Software Foundation; either version
9 * 2 of the Licence, or (at your option) any later version.
11 #ifndef _ASM_RTC_H
12 #define _ASM_RTC_H
14 #ifdef CONFIG_MN10300_RTC
16 #include <linux/init.h>
18 extern void check_rtc_time(void);
19 extern void __init calibrate_clock(void);
20 extern unsigned long __init get_initial_rtc_time(void);
22 #else /* !CONFIG_MN10300_RTC */
24 static inline void check_rtc_time(void)
28 static inline void calibrate_clock(void)
32 static inline unsigned long get_initial_rtc_time(void)
34 return 0;
37 #endif /* !CONFIG_MN10300_RTC */
39 #include <asm-generic/rtc.h>
41 #endif /* _ASM_RTC_H */