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

irqchip/irq-mbigen: 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
e183c2a3 dcbbefce

+1 -1
+1 -1
drivers/irqchip/irq-mbigen.c
··· 228 228 return 0; 229 229 } 230 230 231 - static struct irq_domain_ops mbigen_domain_ops = { 231 + static const struct irq_domain_ops mbigen_domain_ops = { 232 232 .translate = mbigen_domain_translate, 233 233 .alloc = mbigen_irq_domain_alloc, 234 234 .free = irq_domain_free_irqs_common,