From: Masahiro Yamada Date: Tue, 14 Jul 2020 17:38:57 +0000 (+0900) Subject: irqchip/ativic32: Constify irq_domain_ops X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=57a744e9553fb9f4900650bc24e523d4979b44d9;p=linux.git 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 Signed-off-by: Marc Zyngier Link: https://lore.kernel.org/r/20200714173857.477422-1-masahiroy@kernel.org --- diff --git a/drivers/irqchip/irq-ativic32.c b/drivers/irqchip/irq-ativic32.c index 85cf6e0e0e52b..476d6024aaf22 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 };