aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Dooks <ben.dooks@codethink.co.uk>2019-10-08 13:33:41 +0100
committerLinus Walleij <linus.walleij@linaro.org>2021-03-23 09:31:11 +0100
commit20617db0948dce0ef2971fb07ab5fb1188a4b2c2 (patch)
tree320bc6a01b8590a951c42db857e4dc4e200b36af
parenta38fd8748464831584a19438cbb3082b5a2dab15 (diff)
ARM: ux500: make ux500_cpu_die staticux500
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.
-rw-r--r--arch/arm/mach-ux500/platsmp.c2
1 files changed, 1 insertions, 1 deletions
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();
}