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 коммит произвёл Jason Cooper
Родитель 981b58f66c
Коммит 21118df66c
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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;