summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/localtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-shmobile/localtimer.c')
-rw-r--r--arch/arm/mach-shmobile/localtimer.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/localtimer.c b/arch/arm/mach-shmobile/localtimer.c
index 2111c28b724e..ad9ccc9900c8 100644
--- a/arch/arm/mach-shmobile/localtimer.c
+++ b/arch/arm/mach-shmobile/localtimer.c
@@ -18,8 +18,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 = 29;
twd_timer_setup(evt);
+ return 0;
}