summaryrefslogtreecommitdiff
path: root/include/clocksource/pxa.h
diff options
context:
space:
mode:
authorRobert Jarzmik <robert.jarzmik@free.fr>2014-07-14 20:52:04 +0400
committerDaniel Lezcano <daniel.lezcano@linaro.org>2014-07-23 14:02:39 +0400
commita38b1f60b5245a3f610baac2019c0ecd8abd8752 (patch)
treeb2c0bc7321f1356e6036e687f202b4d2dcbd0cb8 /include/clocksource/pxa.h
parent6f6caeaa9a27eb97a15a707192db601a8ef6c272 (diff)
downloadlinux-a38b1f60b5245a3f610baac2019c0ecd8abd8752.tar.xz
ARM: pxa: Add non device-tree timer link to clocksource
As clocksource pxa_timer was moved to clocksource framework, the pxa_timer initialization needs to be a bit amended, to pass the necessary informations to clocksource, ie : - the timer interrupt (mach specific) - the timer registers base (ditto) - the timer clockrate Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'include/clocksource/pxa.h')
-rw-r--r--include/clocksource/pxa.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/clocksource/pxa.h b/include/clocksource/pxa.h
new file mode 100644
index 000000000000..1efbe5a66958
--- /dev/null
+++ b/include/clocksource/pxa.h
@@ -0,0 +1,18 @@
+/*
+ * PXA clocksource, clockevents, and OST interrupt handlers.
+ *
+ * Copyright (C) 2014 Robert Jarzmik
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ *
+ */
+
+#ifndef _CLOCKSOURCE_PXA_H
+#define _CLOCKSOURCE_PXA_H
+
+extern void pxa_timer_nodt_init(int irq, void __iomem *base,
+ unsigned long clock_tick_rate);
+
+#endif