projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc3173c
)
irqchip/mmp: Make mmp_irq_domain_ops static
author
YueHaibing
<yuehaibing@huawei.com>
Wed, 20 Mar 2019 13:40:27 +0000
(21:40 +0800)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Thu, 21 Mar 2019 11:08:25 +0000
(11:08 +0000)
Fix sparse warning:
drivers/irqchip/irq-mmp.c:182:29: warning:
symbol 'mmp_irq_domain_ops' was not declared. Should it be static?
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-mmp.c
patch
|
blob
|
history
diff --git
a/drivers/irqchip/irq-mmp.c
b/drivers/irqchip/irq-mmp.c
index 25f32e1d77647d0be5d8a59d3d214127ba05b9ac..85d1c4d49572139de8b3312b9ede7088353fddd2 100644
(file)
--- a/
drivers/irqchip/irq-mmp.c
+++ b/
drivers/irqchip/irq-mmp.c
@@
-176,7
+176,7
@@
static int mmp_irq_domain_xlate(struct irq_domain *d, struct device_node *node,
return 0;
}
-const struct irq_domain_ops mmp_irq_domain_ops = {
+
static
const struct irq_domain_ops mmp_irq_domain_ops = {
.map = mmp_irq_domain_map,
.xlate = mmp_irq_domain_xlate,
};