summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-samsung/include/plat/irq-vic-timer.h
diff options
context:
space:
mode:
authorBen Dooks2010-01-06 02:14:51 +0100
committerBen Dooks2010-01-15 09:10:13 +0100
commit7162ba03729e0a47aaab44448ce2453f07a9664d (patch)
tree7f1d852cd36db6c39b2224411d986a4b9fec8390 /arch/arm/plat-samsung/include/plat/irq-vic-timer.h
parentARM: SAMSUNG: Move gpio-config.c into plat-samsung (diff)
downloadkernel-qcow2-linux-7162ba03729e0a47aaab44448ce2453f07a9664d.tar.gz
kernel-qcow2-linux-7162ba03729e0a47aaab44448ce2453f07a9664d.tar.xz
kernel-qcow2-linux-7162ba03729e0a47aaab44448ce2453f07a9664d.zip
ARM: SAMSUNG: Move IRQ VIC timer handling out to common header files
Move the VIC based timer interrupt handling out of plat-s3c64xx and into plat-samsung to be re-used for other systems. This also reduces the code size as we now have a common init routine and use the irq_desc to store the interrupt number of the timer. Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/irq-vic-timer.h')
-rw-r--r--arch/arm/plat-samsung/include/plat/irq-vic-timer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/irq-vic-timer.h b/arch/arm/plat-samsung/include/plat/irq-vic-timer.h
new file mode 100644
index 000000000000..a90b53431b5b
--- /dev/null
+++ b/arch/arm/plat-samsung/include/plat/irq-vic-timer.h
@@ -0,0 +1,13 @@
+/* arch/arm/plat-samsung/include/plat/irq-vic-timer.h
+ *
+ * Copyright (c) 2010 Simtec Electronics
+ * Ben Dooks <ben@simtec.co.uk>
+ *
+ * Header file for Samsung SoC IRQ VIC timer
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+*/
+
+extern void s3c_init_vic_timer_irq(unsigned int vic, unsigned int timer);