summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-06-02 11:20:53 +0300
committerMarc Zyngier <marc.zyngier@arm.com>2017-06-22 16:12:49 +0300
commit53ccf3310d271facca17a2766bd4020811ada6a4 (patch)
tree8912873f3dcc4d0e400f41ce2d8a29e43221dd53
parent173bda53b3403d7278d74c4dabedf3d4325a2f89 (diff)
downloadlinux-53ccf3310d271facca17a2766bd4020811ada6a4.tar.xz
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>
-rw-r--r--drivers/irqchip/irq-i8259.c2
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,
return 0;
}
-static struct irq_domain_ops i8259A_ops = {
+static const struct irq_domain_ops i8259A_ops = {
.map = i8259A_irq_domain_map,
.xlate = irq_domain_xlate_onecell,
};