diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2013-02-21 18:04:08 -0500 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2013-06-24 20:47:21 -0400 |
commit | faef31b482549640e2d0095afdf3dedb992cfa80 (patch) | |
tree | b49687da2c494960a140087745929320d202cb83 /drivers/clocksource | |
parent | 4d70c59bb5be9e41a06b9f11ecfba75c14f9fea7 (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 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/time-armada-370-xp.c | 3 |
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 @@ | |||
28 | #include <linux/irq.h> | 28 | #include <linux/irq.h> |
29 | #include <linux/module.h> | 29 | #include <linux/module.h> |
30 | #include <linux/sched_clock.h> | 30 | #include <linux/sched_clock.h> |
31 | #include <linux/percpu.h> | ||
32 | #include <linux/time-armada-370-xp.h> | ||
31 | 33 | ||
32 | #include <asm/localtimer.h> | 34 | #include <asm/localtimer.h> |
33 | #include <linux/percpu.h> | ||
34 | /* | 35 | /* |
35 | * Timer block registers. | 36 | * Timer block registers. |
36 | */ | 37 | */ |