diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2016-06-08 14:02:20 -0400 |
---|---|---|
committer | Jason Cooper <jason@lakedaemon.net> | 2016-06-12 20:56:51 -0400 |
commit | 2ae9add9d82df7a8cb130c9b0f8a797515ed72ef (patch) | |
tree | 0f2cbab1600e6b96e2fdff9374f8b46df21b781c | |
parent | dde7e6d1abdc874e6b26e9478b7ffc43cd5e3ee7 (diff) |
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>
-rw-r--r-- | drivers/irqchip/irq-brcmstb-l2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/irqchip/irq-brcmstb-l2.c b/drivers/irqchip/irq-brcmstb-l2.c index 65cd341f331a..1d4a5b46d9ae 100644 --- a/drivers/irqchip/irq-brcmstb-l2.c +++ b/drivers/irqchip/irq-brcmstb-l2.c | |||
@@ -112,8 +112,8 @@ static void brcmstb_l2_intc_resume(struct irq_data *d) | |||
112 | irq_gc_unlock(gc); | 112 | irq_gc_unlock(gc); |
113 | } | 113 | } |
114 | 114 | ||
115 | int __init brcmstb_l2_intc_of_init(struct device_node *np, | 115 | static int __init brcmstb_l2_intc_of_init(struct device_node *np, |
116 | struct device_node *parent) | 116 | struct device_node *parent) |
117 | { | 117 | { |
118 | unsigned int clr = IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN; | 118 | unsigned int clr = IRQ_NOREQUEST | IRQ_NOPROBE | IRQ_NOAUTOEN; |
119 | struct brcmstb_l2_intc_data *data; | 119 | struct brcmstb_l2_intc_data *data; |