summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-07 21:03:48 +0200
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-06-16 11:24:27 +0200
commit6c5066f6e171d8bea3bbdd56de62b6c23a692672 (patch)
treedd84d0ab425bb160abe64150a3000fa288de3f4d
parentmvebu: fix missing include of common.h in cpu-reset.c (diff)
downloadlinux-6c5066f6e171d8bea3bbdd56de62b6c23a692672.tar.xz
linux-6c5066f6e171d8bea3bbdd56de62b6c23a692672.zip
mvebu: make mvebu_armada375_smp_wa_init() static
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> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
-rw-r--r--arch/arm/mach-mvebu/system-controller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/system-controller.c b/arch/arm/mach-mvebu/system-controller.c
index c6c132acd7a6..76cbc82a7407 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;