summaryrefslogtreecommitdiff
path: root/include/linux/sunxi_timer.h
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2012-11-12 15:07:50 +0100
committerMaxime Ripard <maxime.ripard@free-electrons.com>2012-11-16 21:56:50 +0100
commitb2ac5d7549710173ea0217bf8c7b3f71da5220d4 (patch)
tree317bd4c0c1d2e47afb7177bdf22b18780a7ff62d /include/linux/sunxi_timer.h
parent404525d5a7ecc847b5ac178dad96402f1e102ccc (diff)
downloadlwn-b2ac5d7549710173ea0217bf8c7b3f71da5220d4.tar.gz
lwn-b2ac5d7549710173ea0217bf8c7b3f71da5220d4.zip
clocksource: sunxi: Add Allwinner A1X Timer Driver
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> CC: Thomas Gleixner <tglx@linutronix.de> CC: John Stultz <johnstul@us.ibm.com>
Diffstat (limited to 'include/linux/sunxi_timer.h')
-rw-r--r--include/linux/sunxi_timer.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/sunxi_timer.h b/include/linux/sunxi_timer.h
new file mode 100644
index 000000000000..b9165bba6e61
--- /dev/null
+++ b/include/linux/sunxi_timer.h
@@ -0,0 +1,24 @@
+/*
+ * Copyright 2012 Maxime Ripard
+ *
+ * Maxime Ripard <maxime.ripard@free-electrons.com>
+ *
+ * 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; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef __SUNXI_TIMER_H
+#define __SUNXI_TIMER_H
+
+#include <asm/mach/time.h>
+
+extern struct sys_timer sunxi_timer;
+
+#endif