ARM: mxs: icoll: Fix sparse warning
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 11 Feb 2013 14:01:47 +0000 (12:01 -0200)
committerShawn Guo <shawn.guo@linaro.org>
Mon, 4 Mar 2013 02:07:20 +0000 (10:07 +0800)
Fix the following sparse warning:

arch/arm/mach-mxs/icoll.c:103:13: warning: symbol 'icoll_of_init' was not declared. Should it be static?

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-mxs/icoll.c

index 8fb23af..e26eeba 100644 (file)
@@ -100,7 +100,7 @@ static struct irq_domain_ops icoll_irq_domain_ops = {
        .xlate = irq_domain_xlate_onecell,
 };
 
-void __init icoll_of_init(struct device_node *np,
+static void __init icoll_of_init(struct device_node *np,
                          struct device_node *interrupt_parent)
 {
        /*