diff options
author | Alex Elder <elder@linaro.org> | 2014-04-09 09:01:12 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-04-24 15:28:00 +0200 |
commit | 1be5f69216a20b3ed7ef8b0392ca97385bdca959 (patch) | |
tree | f89786c410565cc6671ab4fe21cd2c43bfdf5533 /arch/arm/mach-spear | |
parent | c02b50e90be9f41d6802049a1a08246e9eb1a22c (diff) | |
download | linux-1be5f69216a20b3ed7ef8b0392ca97385bdca959.tar.gz linux-1be5f69216a20b3ed7ef8b0392ca97385bdca959.tar.bz2 linux-1be5f69216a20b3ed7ef8b0392ca97385bdca959.zip |
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>
Diffstat (limited to 'arch/arm/mach-spear')
-rw-r--r-- | arch/arm/mach-spear/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |