aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKukjin Kim <kgene.kim@samsung.com>2011-08-24 03:07:39 -0400
committerKukjin Kim <kgene.kim@samsung.com>2011-09-15 00:59:58 -0400
commit4d487d7ed46b9172664073dde324f55f9ab50f18 (patch)
treeeb79a945c76f163b7f536820e7081503ff041014
parent6861a197e2ed6dd05c0316ee2006730fbb6e7f9a (diff)
ARM: EXYNOS4: Fix return type of local_timer_setup()
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>
-rw-r--r--arch/arm/mach-exynos4/mct.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos4/mct.c b/arch/arm/mach-exynos4/mct.c
index 1ae059b7ad7b..f3638fa73e62 100644
--- a/arch/arm/mach-exynos4/mct.c
+++ b/arch/arm/mach-exynos4/mct.c
@@ -389,9 +389,11 @@ static void exynos4_mct_tick_init(struct clock_event_device *evt)
389} 389}
390 390
391/* Setup the local clock events for a CPU */ 391/* Setup the local clock events for a CPU */
392void __cpuinit local_timer_setup(struct clock_event_device *evt) 392int __cpuinit local_timer_setup(struct clock_event_device *evt)
393{ 393{
394 exynos4_mct_tick_init(evt); 394 exynos4_mct_tick_init(evt);
395
396 return 0;
395} 397}
396 398
397int local_timer_ack(void) 399int local_timer_ack(void)