diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2019-03-20 09:40:27 -0400 |
|---|---|---|
| committer | Marc Zyngier <marc.zyngier@arm.com> | 2019-03-21 07:08:25 -0400 |
| commit | 096048cb120d5318b3a9a7c1e062a4b11c0e80ab (patch) | |
| tree | 9dc89d08cafc055d529df3f32f4ff32d52effdf0 /drivers | |
| parent | dc3173c7067ebbac44ed4a5c3636dc0ff27f981b (diff) | |
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')
| -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, | |||
| 176 | return 0; | 176 | return 0; |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | const struct irq_domain_ops mmp_irq_domain_ops = { | 179 | static const struct irq_domain_ops mmp_irq_domain_ops = { |
| 180 | .map = mmp_irq_domain_map, | 180 | .map = mmp_irq_domain_map, |
| 181 | .xlate = mmp_irq_domain_xlate, | 181 | .xlate = mmp_irq_domain_xlate, |
| 182 | }; | 182 | }; |
