From: Alex Elder Date: Wed, 9 Apr 2014 14:01:12 +0000 (-0500) Subject: ARM: spear: add __init to spear_clocksource_init() X-Git-Tag: MMI-PSA29.97-13-9~12230^2~25 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1be5f69216a20b3ed7ef8b0392ca97385bdca959;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ARM: spear: add __init to spear_clocksource_init() I get a build warning because spear_clocksource_init() calls clocksource_mmio_init(), but it doesn't have an __init annotation. Fix that. Signed-off-by: Alex Elder Acked-by: Viresh Kumar Signed-off-by: Arnd Bergmann --- diff --git a/arch/arm/mach-spear/time.c b/arch/arm/mach-spear/time.c index 218ba5b67d92..c4d0931fc6ee 100644 --- a/arch/arm/mach-spear/time.c +++ b/arch/arm/mach-spear/time.c @@ -71,7 +71,7 @@ static void clockevent_set_mode(enum clock_event_mode mode, static int clockevent_next_event(unsigned long evt, struct clock_event_device *clk_event_dev); -static void spear_clocksource_init(void) +static void __init spear_clocksource_init(void) { u32 tick_rate; u16 val;