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:
parent
981b58f66c
commit
21118df66c
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue