summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear
diff options
context:
space:
mode:
authorAlex Elder <elder@linaro.org>2014-04-09 09:01:12 -0500
committerArnd Bergmann <arnd@arndb.de>2014-04-24 15:28:00 +0200
commit1be5f69216a20b3ed7ef8b0392ca97385bdca959 (patch)
treef89786c410565cc6671ab4fe21cd2c43bfdf5533 /arch/arm/mach-spear
parentc02b50e90be9f41d6802049a1a08246e9eb1a22c (diff)
downloadlinux-1be5f69216a20b3ed7ef8b0392ca97385bdca959.tar.bz2
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.c2
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;