mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-21 06:01:23 +00:00
irqchip/mmp: Make mmp_irq_domain_ops static
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>
This commit is contained in:
parent
dc3173c706
commit
096048cb12
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ static int mmp_irq_domain_xlate(struct irq_domain *d, struct device_node *node,
|
||||||
return 0;
|
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,
|
.map = mmp_irq_domain_map,
|
||||||
.xlate = mmp_irq_domain_xlate,
|
.xlate = mmp_irq_domain_xlate,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue