Commit 6c880902 authored by Ben Dooks's avatar Ben Dooks Committed by Jason Cooper

irqchip/armada-370-xp: Make syscore_ops static

The armada_370_xp_mpic_syscore_ops structure is not exported or
declared anywhere. Fix the following warning by making it static:

drivers/irqchip/irq-armada-370-xp.c:544:20: warning: symbol 'armada_370_xp_mpic_syscore_ops' was not declared. Should it be static?
Signed-off-by: default avatarBen Dooks <ben.dooks@codethink.co.uk>
Link: https://lkml.kernel.org/r/1465408533-13906-1-git-send-email-ben.dooks@codethink.co.ukSigned-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent f6fbaaa4
...@@ -541,7 +541,7 @@ static void armada_370_xp_mpic_resume(void) ...@@ -541,7 +541,7 @@ static void armada_370_xp_mpic_resume(void)
writel(1, per_cpu_int_base + ARMADA_370_XP_INT_CLEAR_MASK_OFFS); writel(1, per_cpu_int_base + ARMADA_370_XP_INT_CLEAR_MASK_OFFS);
} }
struct syscore_ops armada_370_xp_mpic_syscore_ops = { static struct syscore_ops armada_370_xp_mpic_syscore_ops = {
.suspend = armada_370_xp_mpic_suspend, .suspend = armada_370_xp_mpic_suspend,
.resume = armada_370_xp_mpic_resume, .resume = armada_370_xp_mpic_resume,
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment