MIPS: OCTEON: Constify static irq_domain_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Mon, 7 Feb 2022 21:18:14 +0000 (22:18 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 22 Feb 2022 08:38:50 +0000 (09:38 +0100)
commitb7c8c2c6b1b1329893675b76722144fee7242d29
treefc09e4c86f13c9e24dd4a75fa5fed87c0750deda
parent10242464e506bc8038a7d91943a7b36a6afbcee3
MIPS: OCTEON: Constify static irq_domain_ops

The only usage of these structs is to pass their address to either
irq_domain_add_tree() or irq_domain_create_linear(), both which takes
pointers to const struct irq_domain_ops. Make them const to allow the
compiler to put them in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/cavium-octeon/octeon-irq.c