]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blob - arch/sh/include/asm/rtc.h
rtc: sh: provide rtc_class_ops directly
[mirror_ubuntu-artful-kernel.git] / arch / sh / include / asm / rtc.h
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 */