summaryrefslogtreecommitdiffstats
path: root/drivers/clocksource/time-armada-370-xp.c
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-02-22 00:04:08 +0100
committerStephen Boyd <sboyd@codeaurora.org>2013-06-25 02:47:21 +0200
commitfaef31b482549640e2d0095afdf3dedb992cfa80 (patch)
treeb49687da2c494960a140087745929320d202cb83 /drivers/clocksource/time-armada-370-xp.c
parentARM: msm: Divorce msm_timer from local timer API (diff)
downloadlinux-faef31b482549640e2d0095afdf3dedb992cfa80.tar.xz
linux-faef31b482549640e2d0095afdf3dedb992cfa80.zip
clocksource: time-armada-370-xp: Fix sparse warning
drivers/clocksource/time-armada-370-xp.c:217:13: warning: symbol 'armada_370_xp_timer_init' was not declared. Should it be static? Also remove the __init marking in the prototype as it's unnecessary and drop the init.h file. Acked-by: Gregory CLEMENT <gregory.clement@free-electrons.com> Acked-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clocksource/time-armada-370-xp.c')
-rw-r--r--drivers/clocksource/time-armada-370-xp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/clocksource/time-armada-370-xp.c b/drivers/clocksource/time-armada-370-xp.c
index efdca3263afe..b1e1d92a8839 100644
--- a/drivers/clocksource/time-armada-370-xp.c
+++ b/drivers/clocksource/time-armada-370-xp.c
@@ -28,9 +28,10 @@
#include <linux/irq.h>
#include <linux/module.h>
#include <linux/sched_clock.h>
+#include <linux/percpu.h>
+#include <linux/time-armada-370-xp.h>
#include <asm/localtimer.h>
-#include <linux/percpu.h>
/*
* Timer block registers.
*/