From: ben.dooks@codethink.co.uk (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: prima2: fix missing common.h include in hotplug.c
Date: Tue, 21 Jun 2016 13:51:18 +0100 [thread overview]
Message-ID: <1466513478-31441-1-git-send-email-ben.dooks@codethink.co.uk> (raw)
The sirfsoc_cpu_die() function is declared in common.h but
the header is not included in hotplug.c where is it defined.
Include common.h to fix the following sparse warning:
arch/arm/mach-prima2/hotplug.c:35:6: warning: symbol 'sirfsoc_cpu_die' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
Cc: Barry Song <baohua@kernel.org>
Cc: linux-arm-kernel at lists.infradead.org
---
arch/arm/mach-prima2/hotplug.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/mach-prima2/hotplug.c b/arch/arm/mach-prima2/hotplug.c
index a728c78..97ea2f5 100644
--- a/arch/arm/mach-prima2/hotplug.c
+++ b/arch/arm/mach-prima2/hotplug.c
@@ -12,6 +12,8 @@
#include <asm/smp_plat.h>
+#include "common.h"
+
static inline void platform_do_lowpower(unsigned int cpu)
{
/* we put the platform to just WFI */
--
2.8.1
reply other threads:[~2016-06-21 12:51 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1466513478-31441-1-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).