Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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.com


Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 981b58f6
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;