summaryrefslogtreecommitdiffstats
path: root/arch/sh/include/cpu-common
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2008-07-29 22:52:49 +0900
committerPaul Mundt <lethal@linux-sh.org>2008-07-29 22:52:49 +0900
commit51f3547d619956e9b428bfff17004d8f4d259a02 (patch)
tree8e035f60124ece835a9acb3cf84dc2af887cefc3 /arch/sh/include/cpu-common
parent93dc544cf4892b9188d7d0d4946b0394020b4551 (diff)
downloadop-kernel-dev-51f3547d619956e9b428bfff17004d8f4d259a02.zip
op-kernel-dev-51f3547d619956e9b428bfff17004d8f4d259a02.tar.gz
sh: Allow SH-3 and SH-5 to use common headers.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/cpu-common')
-rw-r--r--arch/sh/include/cpu-common/cpu/rtc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/sh/include/cpu-common/cpu/rtc.h b/arch/sh/include/cpu-common/cpu/rtc.h
new file mode 100644
index 0000000..39e2d6e
--- /dev/null
+++ b/arch/sh/include/cpu-common/cpu/rtc.h
@@ -0,0 +1,8 @@
+#ifndef __ASM_SH_CPU_SH2_RTC_H
+#define __ASM_SH_CPU_SH2_RTC_H
+
+#define rtc_reg_size sizeof(u16)
+#define RTC_BIT_INVERTED 0
+#define RTC_DEF_CAPABILITIES 0UL
+
+#endif /* __ASM_SH_CPU_SH2_RTC_H */
OpenPOWER on IntegriCloud