GNU Linux-libre 4.14.265-gnu1
[releases.git] / arch / sh / include / asm / rtc.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_RTC_H
3 #define _ASM_RTC_H
4
5 void time_init(void);
6 extern void (*board_time_init)(void);
7 extern void (*rtc_sh_get_time)(struct timespec *);
8 extern int (*rtc_sh_set_time)(const time_t);
9
10 #define RTC_CAP_4_DIGIT_YEAR    (1 << 0)
11
12 struct sh_rtc_platform_info {
13         unsigned long capabilities;
14 };
15
16 #include <cpu/rtc.h>
17
18 #endif /* _ASM_RTC_H */