diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2021-03-23 09:32:03 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2021-04-01 22:30:49 +0200 |
commit | 758c5408ea3d6d730ee388ad8354c4fe94685d4c (patch) | |
tree | 320bc6a01b8590a951c42db857e4dc4e200b36af /arch/arm/mach-ux500 | |
parent | Linux 5.12-rc2 (diff) | |
download | linux-758c5408ea3d6d730ee388ad8354c4fe94685d4c.tar.xz linux-758c5408ea3d6d730ee388ad8354c4fe94685d4c.zip |
ARM: ux500: make ux500_cpu_die static
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>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/platsmp.c | 2 |
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(); } |