xref: /openbmc/linux/arch/sh/include/asm/rtc.h (revision f15cbe6f1a4b4d9df59142fc8e4abb973302cf44)
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