Skip to content

Commit

Permalink
ARM: EXYNOS4: Fix return type of local_timer_setup()
Browse files Browse the repository at this point in the history
According to commmit af90f10 ("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>
  • Loading branch information
Kukjin Kim committed Sep 15, 2011
1 parent 6861a19 commit 4d487d7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion arch/arm/mach-exynos4/mct.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4d487d7

Please sign in to comment.