Commit 1be5f692 authored by Alex Elder's avatar Alex Elder Committed by Arnd Bergmann

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: default avatarAlex Elder <elder@linaro.org>
Acked-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent c02b50e9
...@@ -71,7 +71,7 @@ static void clockevent_set_mode(enum clock_event_mode mode, ...@@ -71,7 +71,7 @@ static void clockevent_set_mode(enum clock_event_mode mode,
static int clockevent_next_event(unsigned long evt, static int clockevent_next_event(unsigned long evt,
struct clock_event_device *clk_event_dev); struct clock_event_device *clk_event_dev);
static void spear_clocksource_init(void) static void __init spear_clocksource_init(void)
{ {
u32 tick_rate; u32 tick_rate;
u16 val; u16 val;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment