ARM: ux500: make ux500_cpu_die static
authorBen Dooks <ben.dooks@codethink.co.uk>
Tue, 23 Mar 2021 08:32:03 +0000 (09:32 +0100)
committerArnd Bergmann <arnd@arndb.de>
Thu, 1 Apr 2021 20:30:49 +0000 (22:30 +0200)
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>
Link: https://lore.kernel.org/r/20210323083203.1646842-1-linus.walleij@linaro.org'
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/mach-ux500/platsmp.c

index 0810f3abd810dde81e6bb6880a6d3c01420dd206..415d8ad2a3c1e80f3bb8d0770b301721aef92315 100644 (file)
@@ -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();
 }