MIPS: ath25: Constify static irq_domain_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Mon, 7 Feb 2022 21:18:15 +0000 (22:18 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 22 Feb 2022 08:39:03 +0000 (09:39 +0100)
commit0ccd7890461f391e57b4abce808e31435c779b90
treef0e9a6678c1b904e1410e79a285267c908025840
parentb7c8c2c6b1b1329893675b76722144fee7242d29
MIPS: ath25: 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/ath25/ar2315.c
arch/mips/ath25/ar5312.c