summaryrefslogtreecommitdiffstats
path: root/include/asm-sh/rtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-sh/rtc.h')
-rw-r--r--include/asm-sh/rtc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/asm-sh/rtc.h b/include/asm-sh/rtc.h
index 91aacc9..858da99 100644
--- a/include/asm-sh/rtc.h
+++ b/include/asm-sh/rtc.h
@@ -5,4 +5,10 @@ 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;
+};
+
#endif /* _ASM_RTC_H */
OpenPOWER on IntegriCloud