Message ID | 1589247973-29728-1-git-send-email-mafeng.ma@huawei.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | ARM: oxnas: make ox820_boot_secondary static | expand |
diff --git a/arch/arm/mach-oxnas/platsmp.c b/arch/arm/mach-oxnas/platsmp.c index ab35275..f0a50b9 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
Fix sparse warning: arch/arm/mach-oxnas/platsmp.c:30:12: warning: symbol 'ox820_boot_secondary' was not declared. Should it be static? Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Ma Feng <mafeng.ma@huawei.com> --- arch/arm/mach-oxnas/platsmp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#84): https://groups.io/g/linux-oxnas/message/84 Mute This Topic: https://groups.io/mt/74154564/925526 Group Owner: linux-oxnas+owner@groups.io Unsubscribe: https://groups.io/g/linux-oxnas/unsub [patchwork-linux-oxnas@patchwork.kernel.org] -=-=-=-=-=-=-=-=-=-=-=-