aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/core.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2008-02-04 17:43:02 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-02-04 17:52:26 +0000
commit8cc4c5488a28fe6a1f834e99317bb762798600f7 (patch)
treeccd8a04655dbb87500d982c5be6a01831bcef6b7 /arch/arm/mach-realview/core.h
parent[ARM] 4819/1: RealView: Fix entry-macro.S to work with multiple platforms (diff)
downloadlinux-dev-8cc4c5488a28fe6a1f834e99317bb762798600f7.tar.xz
linux-dev-8cc4c5488a28fe6a1f834e99317bb762798600f7.zip
[ARM] 4820/1: RealView: Select the timer IRQ at run-time
This patch sets the timer IRQ at run-time by moving the sys_timer structure and the timer_init function to the realview_eb.c file. This allows multiple RealView platforms to be compiled in the same kernel image. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/core.h')
-rw-r--r--arch/arm/mach-realview/core.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-realview/core.h b/arch/arm/mach-realview/core.h
index 1c091372be6c..16c9d45ce2c2 100644
--- a/arch/arm/mach-realview/core.h
+++ b/arch/arm/mach-realview/core.h
@@ -27,8 +27,6 @@
#include <asm/leds.h>
#include <asm/io.h>
-extern struct sys_timer realview_timer;
-
#define AMBA_DEVICE(name,busid,base,plat) \
static struct amba_device name##_device = { \
.dev = { \
@@ -55,5 +53,6 @@ extern struct clcd_board clcd_plat_data;
extern void __iomem *gic_cpu_base_addr;
extern void realview_leds_event(led_event_t ledevt);
+extern void realview_timer_init(unsigned int timer_irq);
#endif