Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / arch / sh / include / asm / rtc.h
blobc63555ee12555817193f3a74f2711b1d56a5b639
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_RTC_H
3 #define _ASM_RTC_H
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);
10 #define RTC_CAP_4_DIGIT_YEAR (1 << 0)
12 struct sh_rtc_platform_info {
13 unsigned long capabilities;
16 #include <cpu/rtc.h>
18 #endif /* _ASM_RTC_H */