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

irqchip/irq-imx-gpcv2: 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>

authored by

Tobias Klauser and committed by
Marc Zyngier
dcbbefce 53ccf331

+1 -1
+1 -1
drivers/irqchip/irq-imx-gpcv2.c
··· 200 200 &parent_fwspec); 201 201 } 202 202 203 - static struct irq_domain_ops gpcv2_irqchip_data_domain_ops = { 203 + static const struct irq_domain_ops gpcv2_irqchip_data_domain_ops = { 204 204 .translate = imx_gpcv2_domain_translate, 205 205 .alloc = imx_gpcv2_domain_alloc, 206 206 .free = irq_domain_free_irqs_common,