ARM: EXYNOS4: Fix return type of local_timer_setup()
authorKukjin Kim <kgene.kim@samsung.com>
Wed, 24 Aug 2011 07:07:39 +0000 (16:07 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 15 Sep 2011 04:59:58 +0000 (13:59 +0900)
According to commmit af90f10d ("ARM: 6759/1: smp: Select
local timers vs broadcast timer support"), the return type
of local_timer_setup() should be int instead of void.

Reported-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos4/mct.c

index 1ae059b7ad7b4edc8abbf5c318a8720a4c560125..f3638fa73e6286461bb19a2aee3de0c66b79c991 100644 (file)
@@ -389,9 +389,11 @@ static void exynos4_mct_tick_init(struct clock_event_device *evt)
 }
 
 /* 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)
 {
        exynos4_mct_tick_init(evt);
+
+       return 0;
 }
 
 int local_timer_ack(void)