From: Ben Dooks Date: Tue, 7 Jun 2016 19:03:48 +0000 (+0100) Subject: mvebu: make mvebu_armada375_smp_wa_init() static X-Git-Tag: v4.14-rc1~2747^2^2~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6c5066f6e171d8bea3bbdd56de62b6c23a692672;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Gregory CLEMENT --- 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;