linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: ben.dooks@codethink.co.uk (Ben Dooks)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 4/5] mvebu: make mvebu_armada375_smp_wa_init() static
Date: Tue,  7 Jun 2016 20:03:48 +0100	[thread overview]
Message-ID: <1465326229-24787-5-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_armada375_smp_wa_init() is not exported or declared
anywhere, so make it static to fix the following warning:

arch/arm/mach-mvebu/system-controller.c:130:6: warning: symbol 'mvebu_armada375_smp_wa_init' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
 arch/arm/mach-mvebu/system-controller.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/mach-mvebu/system-controller.c b/arch/arm/mach-mvebu/system-controller.c
index c6c132a..76cbc82 100644
--- a/arch/arm/mach-mvebu/system-controller.c
+++ b/arch/arm/mach-mvebu/system-controller.c
@@ -127,7 +127,7 @@ int mvebu_system_controller_get_soc_id(u32 *dev, u32 *rev)
 }
 
 #if defined(CONFIG_SMP) && defined(CONFIG_MACH_MVEBU_V7)
-void mvebu_armada375_smp_wa_init(void)
+static void mvebu_armada375_smp_wa_init(void)
 {
 	u32 dev, rev;
 	phys_addr_t resume_addr_reg;
-- 
2.8.1

  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 ` [PATCH 3/5] mvebu: fix missing include of common.h in cpu-reset.c Ben Dooks
2016-06-07 19:03 ` Ben Dooks [this message]
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-5-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).