]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite8826f0fd29908c295390d15a4da1f75e81d98c2
treefc09e4c86f13c9e24dd4a75fa5fed87c0750deda
parente614260ffb1f2c7f96ee61b2e7d02954d51f253c
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