irqchip/armada-370-xp: Make syscore_ops static
authorBen Dooks <ben.dooks@codethink.co.uk>
Wed, 8 Jun 2016 17:55:33 +0000 (18:55 +0100)
committerJason Cooper <jason@lakedaemon.net>
Mon, 13 Jun 2016 00:55:32 +0000 (00:55 +0000)
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: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://lkml.kernel.org/r/1465408533-13906-1-git-send-email-ben.dooks@codethink.co.uk
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
drivers/irqchip/irq-armada-370-xp.c

index e7dc6cbda2a1bb61d5b4817dc14649133f1ab5eb..7c42b1d13faf035ed571a8142ad52a76835d8ae0 100644 (file)
@@ -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);
 }
 
-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,
        .resume         = armada_370_xp_mpic_resume,
 };