From: Kukjin Kim Date: Wed, 24 Aug 2011 07:07:39 +0000 (+0900) Subject: ARM: EXYNOS4: Fix return type of local_timer_setup() X-Git-Tag: next-20110830~94^2~1^2~1 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d0be413e2e10ef21216d7be4d88cd4b9c4c68f6b;p=karo-tx-linux.git 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 Signed-off-by: Kukjin Kim --- 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) } /* 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)