Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

authored by

Masahiro Yamada and committed by
Marc Zyngier
57a744e9 5257169a

+1 -1
+1 -1
drivers/irqchip/irq-ativic32.c
··· 92 92 return 0; 93 93 } 94 94 95 - static struct irq_domain_ops ativic32_ops = { 95 + static const struct irq_domain_ops ativic32_ops = { 96 96 .map = ativic32_irq_domain_map, 97 97 .xlate = irq_domain_xlate_onecell 98 98 };