1 #ifndef _ASM_RTC_H 2 #define _ASM_RTC_H 3 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); 7 8 #define RTC_CAP_4_DIGIT_YEAR (1 << 0) 9 10 struct sh_rtc_platform_info { 11 unsigned long capabilities; 12 }; 13 14 #include <cpu/rtc.h> 15 16 #endif /* _ASM_RTC_H */ 17