projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
981b58f
)
irqchip/jcore-aic: Fix non static symbol warning
author
Wei Yongjun
<weiyj.lk@gmail.com>
Sat, 20 Aug 2016 15:26:28 +0000
(15:26 +0000)
committer
Jason Cooper
<jason@lakedaemon.net>
Mon, 22 Aug 2016 23:08:59 +0000
(23:08 +0000)
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>
drivers/irqchip/irq-jcore-aic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/irqchip/irq-jcore-aic.c
b/drivers/irqchip/irq-jcore-aic.c
index 5e5e3bb7d3c7049c87fb14f9904e5fe84242ddf7..84b01dec277dfee6f35c286c43448ed258a48199 100644
(file)
--- 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;