Linux 2.6.28-rc5
[cris-mirror.git] / arch / sh / include / asm / rtc.h
blobf7b010d48af7b17d8c6dbf475d105f7839f816a5
1 #ifndef _ASM_RTC_H
2 #define _ASM_RTC_H
4 void time_init(void);
5 extern void (*board_time_init)(void);
6 extern void (*rtc_sh_get_time)(struct timespec *);
7 extern int (*rtc_sh_set_time)(const time_t);
9 #define RTC_CAP_4_DIGIT_YEAR (1 << 0)
11 struct sh_rtc_platform_info {
12 unsigned long capabilities;
15 #include <cpu/rtc.h>
17 #endif /* _ASM_RTC_H */