]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/rtc.h
rtc: rtc-sh: Support 4-digit year on SH7705/SH7710/SH7712.
[linux-2.6-omap-h63xx.git] / include / asm-sh / rtc.h
index 91aacc96151b2fab63a10aa1eb87f92bf0a80d66..858da99d37e0f7f07c1a4b79439aec70fad67cc6 100644 (file)
@@ -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 */