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 <elder@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
Alex Elder 2014-04-09 09:01:12 -05:00 committed by Arnd Bergmann
parent c02b50e90b
commit 1be5f69216
1 changed files with 1 additions and 1 deletions

View File

@ -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;