diff options
author | Ben Dooks <ben-linux@fluff.org> | 2010-01-06 10:14:51 +0900 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2010-01-15 17:10:13 +0900 |
commit | 7162ba03729e0a47aaab44448ce2453f07a9664d (patch) | |
tree | 7f1d852cd36db6c39b2224411d986a4b9fec8390 /arch/arm/plat-samsung/include/plat/irq-vic-timer.h | |
parent | 4f830db9629e413e7c5523085ab009b0de5ae6d0 (diff) | |
download | lwn-7162ba03729e0a47aaab44448ce2453f07a9664d.tar.gz lwn-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.h | 13 |
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); |