diff options
author | 2020-05-14 00:08:06 +0200 | |
---|---|---|
committer | 2020-05-14 00:08:07 +0200 | |
commit | 6034cc5a37e9b9ffeb81b1fe7bac4fe42fd0ab27 (patch) | |
tree | 4f221ff5ea153c1bbd235dfe348cf98afe5c6f1b | |
parent | Merge tag 'amlogic-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into arm/fixes (diff) | |
parent | ARM: oxnas: make ox820_boot_secondary static (diff) | |
download | wireguard-linux-6034cc5a37e9b9ffeb81b1fe7bac4fe42fd0ab27.tar.xz wireguard-linux-6034cc5a37e9b9ffeb81b1fe7bac4fe42fd0ab27.zip |
Merge tag 'arm-soc-fixes-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/narmstrong/linux-oxnas into arm/fixes
- mach-oxnas: make ox820_boot_secondary static to fix sparse warning
* tag 'arm-soc-fixes-for-5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/narmstrong/linux-oxnas:
ARM: oxnas: make ox820_boot_secondary static
Link: https://lore.kernel.org/r/95bf4813-93a1-735d-1d27-2cbe59986845@baylibre.com
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to '')
-rw-r--r-- | arch/arm/mach-oxnas/platsmp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-oxnas/platsmp.c b/arch/arm/mach-oxnas/platsmp.c index ab35275b7ee3..f0a50b9e61df 100644 --- a/arch/arm/mach-oxnas/platsmp.c +++ b/arch/arm/mach-oxnas/platsmp.c @@ -27,7 +27,8 @@ static void __iomem *gic_cpu_ctrl; #define GIC_CPU_CTRL 0x00 #define GIC_CPU_CTRL_ENABLE 1 -int __init ox820_boot_secondary(unsigned int cpu, struct task_struct *idle) +static int __init ox820_boot_secondary(unsigned int cpu, + struct task_struct *idle) { /* * Write the address of secondary startup into the |