mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-12 05:46:42 +07:00
c019fd8839
With all of the different CPU types this was getting a but unwieldly. Since sh64 is now integrated, we don't have to worry about multiple architectures caring about the header definitions. Split out the defs for each asm/cpu/ to make rtc-sh slightly less visually offensive. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 lines
326 B
C
17 lines
326 B
C
#ifndef _ASM_RTC_H
|
|
#define _ASM_RTC_H
|
|
|
|
extern void (*board_time_init)(void);
|
|
extern void (*rtc_sh_get_time)(struct timespec *);
|
|
extern int (*rtc_sh_set_time)(const time_t);
|
|
|
|
#define RTC_CAP_4_DIGIT_YEAR (1 << 0)
|
|
|
|
struct sh_rtc_platform_info {
|
|
unsigned long capabilities;
|
|
};
|
|
|
|
#include <asm/cpu/rtc.h>
|
|
|
|
#endif /* _ASM_RTC_H */
|