diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-06-02 04:20:53 -0400 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2017-06-22 09:12:49 -0400 |
commit | 53ccf3310d271facca17a2766bd4020811ada6a4 (patch) | |
tree | 8912873f3dcc4d0e400f41ce2d8a29e43221dd53 /drivers/irqchip/irq-i8259.c | |
parent | 173bda53b3403d7278d74c4dabedf3d4325a2f89 (diff) |
irqchip/i8259: Constify irq_domain_ops
struct irq_domain_ops is not modified, so it can be made const.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/irqchip/irq-i8259.c')
-rw-r--r-- | drivers/irqchip/irq-i8259.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-i8259.c b/drivers/irqchip/irq-i8259.c index 1aec12c6d9ac..7aafbb091b67 100644 --- a/drivers/irqchip/irq-i8259.c +++ b/drivers/irqchip/irq-i8259.c | |||
@@ -307,7 +307,7 @@ static int i8259A_irq_domain_map(struct irq_domain *d, unsigned int virq, | |||
307 | return 0; | 307 | return 0; |
308 | } | 308 | } |
309 | 309 | ||
310 | static struct irq_domain_ops i8259A_ops = { | 310 | static const struct irq_domain_ops i8259A_ops = { |
311 | .map = i8259A_irq_domain_map, | 311 | .map = i8259A_irq_domain_map, |
312 | .xlate = irq_domain_xlate_onecell, | 312 | .xlate = irq_domain_xlate_onecell, |
313 | }; | 313 | }; |