diff mbox series

ARM: ux500: make ux500_cpu_die static

Message ID 20210323083203.1646842-1-linus.walleij@linaro.org (mailing list archive)
State Queued, archived
Headers show
Series ARM: ux500: make ux500_cpu_die static | expand

Commit Message

Linus Walleij March 23, 2021, 8:32 a.m. UTC
From: Ben Dooks <ben.dooks@codethink.co.uk>

The ux500_cpu_die function is not exported so make it static
to avoid the following warning:

arch/arm/mach-ux500/platsmp.c:89:6: warning: symbol 'ux500_cpu_die' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
ARM SoC folks: please apply this patch directly. No
other Ux500 patches are queued.
---
 arch/arm/mach-ux500/platsmp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Arnd Bergmann April 1, 2021, 9:07 p.m. UTC | #1
From: Arnd Bergmann <arnd@arndb.de>

On Tue, 23 Mar 2021 09:32:03 +0100, Linus Walleij wrote:
> The ux500_cpu_die function is not exported so make it static
> to avoid the following warning:
> 
> arch/arm/mach-ux500/platsmp.c:89:6: warning: symbol 'ux500_cpu_die' was not declared. Should it be static?

Applied to arm/soc, thanks!

[1/1] ARM: ux500: make ux500_cpu_die static
      commit: 758c5408ea3d6d730ee388ad8354c4fe94685d4c

       Arnd
diff mbox series

Patch

diff --git a/arch/arm/mach-ux500/platsmp.c b/arch/arm/mach-ux500/platsmp.c
index 0810f3abd810..415d8ad2a3c1 100644
--- a/arch/arm/mach-ux500/platsmp.c
+++ b/arch/arm/mach-ux500/platsmp.c
@@ -86,7 +86,7 @@  static int ux500_boot_secondary(unsigned int cpu, struct task_struct *idle)
 }
 
 #ifdef CONFIG_HOTPLUG_CPU
-void ux500_cpu_die(unsigned int cpu)
+static void ux500_cpu_die(unsigned int cpu)
 {
 	wfi();
 }