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: Wei Yongjun <weiyj.lk@gmail.com>
Link: https://lkml.kernel.org/r/1471706788-27587-1-git-send-email-weiyj.lk@gmail.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
This commit is contained in:
Wei Yongjun 2016-08-20 15:26:28 +00:00 committed by Jason Cooper
parent 981b58f66c
commit 21118df66c
1 changed files with 2 additions and 1 deletions

View File

@ -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 dom_sz = JCORE_AIC_MAX_HWIRQ+1;