summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/hardware/timer-sp.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/hardware/timer-sp.h')
-rw-r--r--arch/arm/include/asm/hardware/timer-sp.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardware/timer-sp.h b/arch/arm/include/asm/hardware/timer-sp.h
new file mode 100644
index 00000000..2dd9d3f8
--- /dev/null
+++ b/arch/arm/include/asm/hardware/timer-sp.h
@@ -0,0 +1,15 @@
+void __sp804_clocksource_and_sched_clock_init(void __iomem *,
+ const char *, int);
+
+static inline void sp804_clocksource_init(void __iomem *base, const char *name)
+{
+ __sp804_clocksource_and_sched_clock_init(base, name, 0);
+}
+
+static inline void sp804_clocksource_and_sched_clock_init(void __iomem *base,
+ const char *name)
+{
+ __sp804_clocksource_and_sched_clock_init(base, name, 1);
+}
+
+void sp804_clockevents_init(void __iomem *, unsigned int, const char *);