aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-realview/core.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2008-02-04 17:45:03 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2008-02-04 17:52:27 +0000
commit39e823e35b791b905e0d8eba62e8b3a0b3351936 (patch)
tree0bb4c51e56d3ff903d53479e1a602a50ee05fc54 /arch/arm/mach-realview/core.h
parent8cc4c5488a28fe6a1f834e99317bb762798600f7 (diff)
[ARM] 4821/1: RealView: Remove the platform dependencies from localtimer.c
This patch removes the TWD_BASE macro used to set up and configure the local timers on ARM11MPCore. The twd_base_addr and twd_size variables are defined in localtimer.c and set from the realview_eb_init function. 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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/core.h b/arch/arm/mach-realview/core.h
index 16c9d45ce2c..492a14c0d60 100644
--- a/arch/arm/mach-realview/core.h
+++ b/arch/arm/mach-realview/core.h
@@ -51,6 +51,10 @@ extern struct mmc_platform_data realview_mmc1_plat_data;
extern struct clk realview_clcd_clk;
extern struct clcd_board clcd_plat_data;
extern void __iomem *gic_cpu_base_addr;
+#ifdef CONFIG_LOCAL_TIMERS
+extern void __iomem *twd_base_addr;
+extern unsigned int twd_size;
+#endif
extern void realview_leds_event(led_event_t ledevt);
extern void realview_timer_init(unsigned int timer_irq);