Skip to content

Commit bd84dff

Browse files
uestcmahonesuperna9999
authored andcommitted
ARM: oxnas: make ox820_boot_secondary static
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 <[email protected]> Signed-off-by: Ma Feng <[email protected]> Acked-by: Neil Armstrong <[email protected]> Fixes: af76e80 ("ARM: oxnas: Add OX820 SMP support") Signed-off-by: Neil Armstrong <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 8f3d9f3 commit bd84dff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

arch/arm/mach-oxnas/platsmp.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ static void __iomem *gic_cpu_ctrl;
2727
#define GIC_CPU_CTRL 0x00
2828
#define GIC_CPU_CTRL_ENABLE 1
2929

30-
int __init ox820_boot_secondary(unsigned int cpu, struct task_struct *idle)
30+
static int __init ox820_boot_secondary(unsigned int cpu,
31+
struct task_struct *idle)
3132
{
3233
/*
3334
* Write the address of secondary startup into the

0 commit comments

Comments
 (0)