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.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/asm-sh/rtc.h b/include/asm-sh/rtc.h
new file mode 100644
index 000000000..3321bc7e8
--- /dev/null
+++ b/include/asm-sh/rtc.h
@@ -0,0 +1,12 @@
+#ifndef _ASM_RTC_H
+#define _ASM_RTC_H
+
+#include <asm/machvec.h>
+
+#define rtc_gettimeofday sh_mv.mv_rtc_gettimeofday
+#define rtc_settimeofday sh_mv.mv_rtc_settimeofday
+
+extern void sh_rtc_gettimeofday(struct timeval *tv);
+extern int sh_rtc_settimeofday(const struct timeval *tv);
+
+#endif /* _ASM_RTC_H */