MIPS: pci-ar2315: Constify static irq_domain_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Mon, 7 Feb 2022 21:18:16 +0000 (22:18 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Tue, 22 Feb 2022 08:39:05 +0000 (09:39 +0100)
commitce510accafdbf13e7d5863191934178a56a941f9
tree3a10d9f11953b4921332cdb7786de664c17627d2
parent0ccd7890461f391e57b4abce808e31435c779b90
MIPS: pci-ar2315: Constify static irq_domain_ops

The only usage of ar2315_pci_irq_domain_ops is to pass its address to
irq_domain_add_linear() which takes a pointer to const struct
irq_domain_ops. Make it const to allow the compiler to put it in
read-only memory.

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