summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-07 21:03:47 +0200
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-06-16 11:24:19 +0200
commite9d50248d6d92957160bd2616a7e738a746b8231 (patch)
tree6ae07045df7c360a42582c193c6cfd77092fcec9
parentmvebu: fix missing include of common.h in pm.c (diff)
downloadlinux-e9d50248d6d92957160bd2616a7e738a746b8231.tar.xz
linux-e9d50248d6d92957160bd2616a7e738a746b8231.zip
mvebu: fix missing include of common.h in cpu-reset.c
The mvebu_cpu_reset_deassert() is missing the definition for it, so include common.h where it is defined to fix the warning: arch/arm/mach-mvebu/cpu-reset.c:25:5: warning: symbol 'mvebu_cpu_reset_deassert' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r--arch/arm/mach-mvebu/cpu-reset.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mvebu/cpu-reset.c b/arch/arm/mach-mvebu/cpu-reset.c
index 4a2cadd6b48e..f33a31c6aff8 100644
--- a/arch/arm/mach-mvebu/cpu-reset.c
+++ b/arch/arm/mach-mvebu/cpu-reset.c
@@ -16,6 +16,8 @@
#include <linux/io.h>
#include <linux/resource.h>
+#include "common.h"
+
static void __iomem *cpu_reset_base;
static size_t cpu_reset_size;