]> git.ipfire.org Git - thirdparty/kernel/linux.git/blame - arch/sh/include/asm/rtc.h
License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[thirdparty/kernel/linux.git] / arch / sh / include / asm / rtc.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4
LT
2#ifndef _ASM_RTC_H
3#define _ASM_RTC_H
1da177e4 4
fa43972f 5void time_init(void);
1da177e4 6extern void (*board_time_init)(void);
af514ca7
PM
7extern void (*rtc_sh_get_time)(struct timespec *);
8extern int (*rtc_sh_set_time)(const time_t);
1da177e4 9
ad89f87a
PM
10#define RTC_CAP_4_DIGIT_YEAR (1 << 0)
11
12struct sh_rtc_platform_info {
13 unsigned long capabilities;
14};
15
f15cbe6f 16#include <cpu/rtc.h>
c019fd88 17
1da177e4 18#endif /* _ASM_RTC_H */