summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-shmobile/suspend.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/suspend.c
parent0c1690705417ac1b33f01125552349e3cfc9766d (diff)
downloadop-kernel-dev-2e41e5fe88f99c03a77c4325870f160378b42268.zip
op-kernel-dev-2e41e5fe88f99c03a77c4325870f160378b42268.tar.gz
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/suspend.c')
-rw-r--r--arch/arm/mach-shmobile/suspend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/suspend.c b/arch/arm/mach-shmobile/suspend.c
index 5d92b5d..74b30ba 100644
--- a/arch/arm/mach-shmobile/suspend.c
+++ b/arch/arm/mach-shmobile/suspend.c
@@ -17,6 +17,8 @@
#include <asm/io.h>
#include <asm/system_misc.h>
+#include "common.h"
+
static int shmobile_suspend_default_enter(suspend_state_t suspend_state)
{
cpu_do_idle();
OpenPOWER on IntegriCloud