summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/localtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ux500/localtimer.c')
-rw-r--r--arch/arm/mach-ux500/localtimer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-ux500/localtimer.c b/arch/arm/mach-ux500/localtimer.c
index 2288f6a7c51..5ba113309a0 100644
--- a/arch/arm/mach-ux500/localtimer.c
+++ b/arch/arm/mach-ux500/localtimer.c
@@ -21,8 +21,9 @@
/*
* Setup the local clock events for a CPU.
*/
-void __cpuinit local_timer_setup(struct clock_event_device *evt)
+int __cpuinit local_timer_setup(struct clock_event_device *evt)
{
evt->irq = IRQ_LOCALTIMER;
twd_timer_setup(evt);
+ return 0;
}