summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/timer.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2016-01-28 16:20:48 +0100
committerSimon Horman <horms+renesas@verge.net.au>2016-02-04 15:09:29 +0100
commit2e41e5fe88f99c03a77c4325870f160378b42268 (patch)
treef13f0e81f58cd2458170cf9407bdbde73c9ca219 /arch/arm/mach-shmobile/timer.c
parent0c1690705417ac1b33f01125552349e3cfc9766d (diff)
downloadblackbird-op-linux-2e41e5fe88f99c03a77c4325870f160378b42268.tar.gz
blackbird-op-linux-2e41e5fe88f99c03a77c4325870f160378b42268.zip
ARM: shmobile: Add includes providing forward declarations
make C=1: arch/arm/mach-shmobile/timer.c:38:13: warning: symbol 'shmobile_init_delay' was not declared. Should it be static? arch/arm/mach-shmobile/suspend.c:37:29: warning: symbol 'shmobile_suspend_ops' was not declared. Should it be static? arch/arm/mach-shmobile/suspend.c:44:12: warning: symbol 'shmobile_suspend_init' was not declared. Should it be static? arch/arm/mach-shmobile/cpufreq.c:13:12: warning: symbol 'shmobile_cpufreq_init' was not declared. Should it be static? Include "common.h" to fix these. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/timer.c')
-rw-r--r--arch/arm/mach-shmobile/timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/timer.c b/arch/arm/mach-shmobile/timer.c
index c17d4d3881ff..ad008e4b0c49 100644
--- a/arch/arm/mach-shmobile/timer.c
+++ b/arch/arm/mach-shmobile/timer.c
@@ -18,6 +18,8 @@
#include <linux/delay.h>
#include <linux/of_address.h>
+#include "common.h"
+
static void __init shmobile_setup_delay_hz(unsigned int max_cpu_core_hz,
unsigned int mult, unsigned int div)
{
OpenPOWER on IntegriCloud