Commit-ID: 21118df66c198d6ebb23e6827e2e92ab1e148e78 Gitweb: http://git.kernel.org/tip/21118df66c198d6ebb23e6827e2e92ab1e148e78 Author: Wei Yongjun <weiyj.lk@xxxxxxxxx> AuthorDate: Sat, 20 Aug 2016 15:26:28 +0000 Committer: Jason Cooper <jason@xxxxxxxxxxxxxx> CommitDate: Mon, 22 Aug 2016 23:08:59 +0000 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@xxxxxxxxx> Link: https://lkml.kernel.org/r/1471706788-27587-1-git-send-email-weiyj.lk@xxxxxxxxx Signed-off-by: Jason Cooper <jason@xxxxxxxxxxxxxx> --- drivers/irqchip/irq-jcore-aic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/irqchip/irq-jcore-aic.c b/drivers/irqchip/irq-jcore-aic.c index 5e5e3bb..84b01de 100644 --- a/drivers/irqchip/irq-jcore-aic.c +++ b/drivers/irqchip/irq-jcore-aic.c @@ -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; -- To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
![]() |