From: Ben Dooks Date: Thu, 9 Jun 2016 11:52:25 +0000 (+0100) Subject: ARM: Kirkwood: make kirkwood_disable_mbus_error_propagation() static X-Git-Tag: v4.8-rc1~71^2^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=15b10c6a60e28f2065389da7fc8af538ea727604;p=platform%2Fkernel%2Flinux-exynos.git 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 Reviewed-by: Andrew Lunn Signed-off-by: Gregory CLEMENT --- diff --git a/arch/arm/mach-mvebu/kirkwood.c b/arch/arm/mach-mvebu/kirkwood.c index f9d8e1e..a3f4029 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;