summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2016-06-09 12:52:25 +0100
committerGregory CLEMENT <gregory.clement@free-electrons.com>2016-06-16 12:00:05 +0200
commit15b10c6a60e28f2065389da7fc8af538ea727604 (patch)
treebd275491f218eed05242de228412ccf286c3e2f0 /arch
parentfc05c24db0a602b54571d114a087bd1b251bae60 (diff)
downloadlinux-15b10c6a60e28f2065389da7fc8af538ea727604.tar.bz2
ARM: Kirkwood: make kirkwood_disable_mbus_error_propagation() static
The kirkwood_disable_mbus_error_propagation is not exported or declared elsewhere, so make it static to avoid the following warning: arch/arm/mach-mvebu/kirkwood.c:153:6: warning: symbol 'kirkwood_disable_mbus_error_propagation' was not declared. Should it be static? Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mvebu/kirkwood.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c
index f9d8e1ea7183..a3f4029b25d7 100644
--- a/arch/arm/mach-mvebu/kirkwood.c
+++ b/arch/arm/mach-mvebu/kirkwood.c
@@ -150,7 +150,7 @@ eth_fixup_skip:
* causes mbus errors (which can occur for example for PCI aborts) to
* throw CPU aborts, which we're not set up to deal with.
*/
-void kirkwood_disable_mbus_error_propagation(void)
+static void kirkwood_disable_mbus_error_propagation(void)
{
void __iomem *cpu_config;