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