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