diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-08 20:06:14 +0300 |
---|---|---|
committer | Sudeep Holla <sudeep.holla@arm.com> | 2016-06-13 11:55:51 +0300 |
commit | e13de0a8d032dedc41a01659ea203b9cdece532b (patch) | |
tree | 08a1f60b2675df68512f1eb70d088a83f909701f | |
parent | 4091af6b5293522b14400b31667f8b6ce596ec0c (diff) | |
download | linux-e13de0a8d032dedc41a01659ea203b9cdece532b.tar.xz |
ARM: vexpress/spc: fix missing include of spc.h
Fix missing function prototypes found in spc.h by including
the file to remove the following warnings:
arch/arm/mach-vexpress/spc.c:131:6: warning: symbol 've_spc_global_wakeup_irq' was not declared. Should it be static?
arch/arm/mach-vexpress/spc.c:156:6: warning: symbol 've_spc_cpu_wakeup_irq' was not declared. Should it be static?
arch/arm/mach-vexpress/spc.c:185:6: warning: symbol 've_spc_set_resume_addr' was not declared. Should it be static?
arch/arm/mach-vexpress/spc.c:210:6: warning: symbol 've_spc_powerdown' was not declared. Should it be static?
arch/arm/mach-vexpress/spc.c:240:5: warning: symbol 've_spc_cpu_in_wfi' was not declared. Should it be static?
arch/arm/mach-vexpress/spc.c:450:12: warning: symbol 've_spc_init' was not declared. Should it be static?
Cc: Liviu Dudau <liviu.dudau@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
-rw-r--r-- | arch/arm/mach-vexpress/spc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-vexpress/spc.c b/arch/arm/mach-vexpress/spc.c index 0d89257ddc0a..bc4ea5b241e7 100644 --- a/arch/arm/mach-vexpress/spc.c +++ b/arch/arm/mach-vexpress/spc.c @@ -31,6 +31,8 @@ #include <asm/cacheflush.h> +#include "spc.h" + #define SPCLOG "vexpress-spc: " #define PERF_LVL_A15 0x00 |