summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-spear/time.c
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/time.c
parentc02b50e90be9f41d6802049a1a08246e9eb1a22c (diff)
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/time.c')
-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 218ba5b67d9..c4d0931fc6e 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;