summaryrefslogtreecommitdiffstats
path: root/include/linux/time-armada-370-xp.h
diff options
context:
space:
mode:
authorStephen Boyd <sboyd@codeaurora.org>2013-02-21 15:04:08 -0800
committerStephen Boyd <sboyd@codeaurora.org>2013-06-24 17:47:21 -0700
commitfaef31b482549640e2d0095afdf3dedb992cfa80 (patch)
treeb49687da2c494960a140087745929320d202cb83 /include/linux/time-armada-370-xp.h
parent4d70c59bb5be9e41a06b9f11ecfba75c14f9fea7 (diff)
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 'include/linux/time-armada-370-xp.h')
-rw-r--r--include/linux/time-armada-370-xp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/linux/time-armada-370-xp.h b/include/linux/time-armada-370-xp.h
index dfdfdc03115..6fb0856b940 100644
--- a/include/linux/time-armada-370-xp.h
+++ b/include/linux/time-armada-370-xp.h
@@ -11,8 +11,6 @@
#ifndef __TIME_ARMADA_370_XPPRCMU_H
#define __TIME_ARMADA_370_XPPRCMU_H
-#include <linux/init.h>
-
-void __init armada_370_xp_timer_init(void);
+void armada_370_xp_timer_init(void);
#endif