rtc.h 322 B

12345678910111213141516
  1. #ifndef _ASM_RTC_H
  2. #define _ASM_RTC_H
  3. extern void (*board_time_init)(void);
  4. extern void (*rtc_sh_get_time)(struct timespec *);
  5. extern int (*rtc_sh_set_time)(const time_t);
  6. #define RTC_CAP_4_DIGIT_YEAR (1 << 0)
  7. struct sh_rtc_platform_info {
  8. unsigned long capabilities;
  9. };
  10. #include <cpu/rtc.h>
  11. #endif /* _ASM_RTC_H */