From: ben.dooks@codethink.co.uk (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 3/5] mvebu: fix missing include of common.h in cpu-reset.c
Date: Tue, 7 Jun 2016 20:03:47 +0100 [thread overview]
Message-ID: <1465326229-24787-4-git-send-email-ben.dooks@codethink.co.uk> (raw)
In-Reply-To: <1465326229-24787-1-git-send-email-ben.dooks@codethink.co.uk>
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>
---
arch/arm/mach-mvebu/cpu-reset.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-mvebu/cpu-reset.c b/arch/arm/mach-mvebu/cpu-reset.c
index 4a2cadd..f33a31c 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;
--
2.8.1
next prev parent reply other threads:[~2016-06-07 19:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-07 19:03 mvebu warning fixes Ben Dooks
2016-06-07 19:03 ` [PATCH 1/5] mvebu: fix missing includes in pmsu.c Ben Dooks
2016-06-07 19:03 ` [PATCH 2/5] mvebu: fix missing include of common.h in pm.c Ben Dooks
2016-06-07 19:03 ` Ben Dooks [this message]
2016-06-07 19:03 ` [PATCH 4/5] mvebu: make mvebu_armada375_smp_wa_init() static Ben Dooks
2016-06-07 19:03 ` [PATCH 5/5] mvebu: add definition for coherency_base Ben Dooks
2016-06-16 9:57 ` mvebu warning fixes Gregory CLEMENT
2016-06-16 12:42 ` Ben Dooks
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1465326229-24787-4-git-send-email-ben.dooks@codethink.co.uk \
--to=ben.dooks@codethink.co.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).