aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear3xx/spear3xx.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@st.com>2012-04-21 03:45:37 -0400
committerArnd Bergmann <arnd@arndb.de>2012-05-12 15:03:26 -0400
commit30551c0108e0d2fed48778a6bbd52843088bcb7b (patch)
treeb26eba9ad07964e76465bddb42474e25c4690597 /arch/arm/mach-spear3xx/spear3xx.c
parentfa599c333d3d66846545026b41bcf36d1350fe30 (diff)
SPEAr: Add DT bindings for SPEAr's timer
All SPEAr SoC's use ST's Timer module. This patch adds device tree probing capability for that. Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-spear3xx/spear3xx.c')
-rw-r--r--arch/arm/mach-spear3xx/spear3xx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-spear3xx/spear3xx.c b/arch/arm/mach-spear3xx/spear3xx.c
index bbb11efa6056..25c6c67d5b07 100644
--- a/arch/arm/mach-spear3xx/spear3xx.c
+++ b/arch/arm/mach-spear3xx/spear3xx.c
@@ -534,7 +534,7 @@ static void __init spear3xx_timer_init(void)
534 clk_put(gpt_clk); 534 clk_put(gpt_clk);
535 clk_put(pclk); 535 clk_put(pclk);
536 536
537 spear_setup_timer(SPEAR3XX_CPU_TMR_BASE, SPEAR3XX_IRQ_CPU_GPT1_1); 537 spear_setup_of_timer();
538} 538}
539 539
540struct sys_timer spear3xx_timer = { 540struct sys_timer spear3xx_timer = {