diff options
Diffstat (limited to 'arch/arm/mach-msm')
-rw-r--r-- | arch/arm/mach-msm/timer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-msm/timer.c b/arch/arm/mach-msm/timer.c index e7f8e5a4d48f..56f920c55b6a 100644 --- a/arch/arm/mach-msm/timer.c +++ b/arch/arm/mach-msm/timer.c | |||
@@ -263,7 +263,7 @@ static void __init msm_timer_init(void) | |||
263 | } | 263 | } |
264 | 264 | ||
265 | #ifdef CONFIG_SMP | 265 | #ifdef CONFIG_SMP |
266 | void __cpuinit local_timer_setup(struct clock_event_device *evt) | 266 | int __cpuinit local_timer_setup(struct clock_event_device *evt) |
267 | { | 267 | { |
268 | struct msm_clock *clock = &msm_clocks[MSM_GLOBAL_TIMER]; | 268 | struct msm_clock *clock = &msm_clocks[MSM_GLOBAL_TIMER]; |
269 | 269 | ||
@@ -295,6 +295,7 @@ void __cpuinit local_timer_setup(struct clock_event_device *evt) | |||
295 | gic_enable_ppi(clock->irq.irq); | 295 | gic_enable_ppi(clock->irq.irq); |
296 | 296 | ||
297 | clockevents_register_device(evt); | 297 | clockevents_register_device(evt); |
298 | return 0; | ||
298 | } | 299 | } |
299 | 300 | ||
300 | inline int local_timer_ack(void) | 301 | inline int local_timer_ack(void) |