mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 23:45:31 +08:00
19f48591e6
The only remaining user of board_time_init() is the of-generic machine, and that just calls the global timer_init() function. Calling that one has no effect on non-DT platforms, so we can simply call it unconditionally in place of board_time_init(). Signed-off-by: Arnd Bergmann <arnd@arndb.de>
16 lines
249 B
C
16 lines
249 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _ASM_RTC_H
|
|
#define _ASM_RTC_H
|
|
|
|
void time_init(void);
|
|
|
|
#define RTC_CAP_4_DIGIT_YEAR (1 << 0)
|
|
|
|
struct sh_rtc_platform_info {
|
|
unsigned long capabilities;
|
|
};
|
|
|
|
#include <cpu/rtc.h>
|
|
|
|
#endif /* _ASM_RTC_H */
|