From: Ben Dooks Date: Tue, 7 Jun 2016 19:03:48 +0000 (+0100) Subject: mvebu: make mvebu_armada375_smp_wa_init() static X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6c5066f6e171d8bea3bbdd56de62b6c23a692672;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 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;