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

nios2: 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>
Acked-by: Ley Foon Tan <ley.foon.tan@intel.com>

authored by

Tobias Klauser and committed by
Ley Foon Tan
57ac76ed f679b311

+1 -1
+1 -1
arch/nios2/kernel/irq.c
··· 67 67 return 0; 68 68 } 69 69 70 - static struct irq_domain_ops irq_ops = { 70 + static const struct irq_domain_ops irq_ops = { 71 71 .map = irq_map, 72 72 .xlate = irq_domain_xlate_onecell, 73 73 };