diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-20 14:40:27 +0100 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-03-21 12:08:25 +0100 |
commit | 096048cb120d5318b3a9a7c1e062a4b11c0e80ab (patch) | |
tree | 9dc89d08cafc055d529df3f32f4ff32d52effdf0 /drivers/irqchip/irq-mmp.c | |
parent | irqchip/brcmstb-l2: Make two init functions static (diff) | |
download | linux-096048cb120d5318b3a9a7c1e062a4b11c0e80ab.tar.xz linux-096048cb120d5318b3a9a7c1e062a4b11c0e80ab.zip |
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>
Diffstat (limited to 'drivers/irqchip/irq-mmp.c')
-rw-r--r-- | drivers/irqchip/irq-mmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-mmp.c b/drivers/irqchip/irq-mmp.c index 25f32e1d7764..85d1c4d49572 100644 --- 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, }; |