Commit 21118df6 authored by Wei Yongjun's avatar Wei Yongjun Committed by Jason Cooper

irqchip/jcore-aic: Fix non static symbol warning

Fixes the following sparse warning:

drivers/irqchip/irq-jcore-aic.c:47:12: warning:
 symbol 'aic_irq_of_init' was not declared. Should it be static?
Signed-off-by: default avatarWei Yongjun <weiyj.lk@gmail.com>
Link: https://lkml.kernel.org/r/1471706788-27587-1-git-send-email-weiyj.lk@gmail.comSigned-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 981b58f6
...@@ -44,7 +44,8 @@ static void noop(struct irq_data *data) ...@@ -44,7 +44,8 @@ static void noop(struct irq_data *data)
{ {
} }
int __init aic_irq_of_init(struct device_node *node, struct device_node *parent) static int __init aic_irq_of_init(struct device_node *node,
struct device_node *parent)
{ {
unsigned min_irq = JCORE_AIC2_MIN_HWIRQ; unsigned min_irq = JCORE_AIC2_MIN_HWIRQ;
unsigned dom_sz = JCORE_AIC_MAX_HWIRQ+1; unsigned dom_sz = JCORE_AIC_MAX_HWIRQ+1;
......
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