Linux 2.6.26-rc5
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-sh / rtc.h
blobec45ba8e11d93884f8c6c46f7e84366c586ca6ed
1 #ifndef _ASM_RTC_H
2 #define _ASM_RTC_H
4 extern void (*board_time_init)(void);
5 extern void (*rtc_sh_get_time)(struct timespec *);
6 extern int (*rtc_sh_set_time)(const time_t);
8 #define RTC_CAP_4_DIGIT_YEAR (1 << 0)
10 struct sh_rtc_platform_info {
11 unsigned long capabilities;
14 #include <asm/cpu/rtc.h>
16 #endif /* _ASM_RTC_H */