summaryrefslogtreecommitdiff
path: root/drivers/irqchip/irq-ativic32.c
diff options
context:
space:
mode:
authorMasahiro Yamada <masahiroy@kernel.org>2020-07-14 20:38:57 +0300
committerMarc Zyngier <maz@kernel.org>2020-07-27 10:55:02 +0300
commit57a744e9553fb9f4900650bc24e523d4979b44d9 (patch)
tree1ccce5fabce753db7f425b9a7003cbdbca446577 /drivers/irqchip/irq-ativic32.c
parent5257169ade8c428e9eed4718103b0215eb6c5810 (diff)
downloadlinux-57a744e9553fb9f4900650bc24e523d4979b44d9.tar.xz
irqchip/ativic32: Constify irq_domain_ops
This is passed to irq_domain_add_linear(), which accepts a pointer to a const structure. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Signed-off-by: Marc Zyngier <maz@kernel.org> Link: https://lore.kernel.org/r/20200714173857.477422-1-masahiroy@kernel.org
Diffstat (limited to 'drivers/irqchip/irq-ativic32.c')
-rw-r--r--drivers/irqchip/irq-ativic32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-ativic32.c b/drivers/irqchip/irq-ativic32.c
index 85cf6e0e0e52..476d6024aaf2 100644
--- a/drivers/irqchip/irq-ativic32.c
+++ b/drivers/irqchip/irq-ativic32.c
@@ -92,7 +92,7 @@ static int ativic32_irq_domain_map(struct irq_domain *id, unsigned int virq,
return 0;
}
-static struct irq_domain_ops ativic32_ops = {
+static const struct irq_domain_ops ativic32_ops = {
.map = ativic32_irq_domain_map,
.xlate = irq_domain_xlate_onecell
};