Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/brcmstb-l2: Make of probe function static

The probe functions in this driver is not exported or declared
so make it static to fix the following warning:

drivers/irqchip/irq-brcmstb-l2.c:115:12: warning: symbol 'brcmstb_l2_intc_of_init' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Link: https://lkml.kernel.org/r/1465408940-16414-1-git-send-email-ben.dooks@codethink.co.uk
Signed-off-by: Jason Cooper <jason@lakedaemon.net>

authored by

Ben Dooks and committed by
Jason Cooper
2ae9add9 dde7e6d1

+2 -2
+2 -2
drivers/irqchip/irq-brcmstb-l2.c
··· 112 112 irq_gc_unlock(gc); 113 113 } 114 114 115 - int __init brcmstb_l2_intc_of_init(struct device_node *np, 116 - struct device_node *parent) 115 + static int __init brcmstb_l2_intc_of_init(struct device_node *np, 116 + struct device_node *parent) 117 117 { 118 118 unsigned int clr = IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN; 119 119 struct brcmstb_l2_intc_data *data;