From: Tobias Klauser Date: Mon, 3 Apr 2017 03:08:52 +0000 (-0700) Subject: nios2: constify irq_domain_ops X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=57ac76ed6c0daf02c520e09e0af421f02ee2de8b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git nios2: constify irq_domain_ops struct irq_domain_ops is not modified, so it can be made const. Signed-off-by: Tobias Klauser Acked-by: Ley Foon Tan --- diff --git a/arch/nios2/kernel/irq.c b/arch/nios2/kernel/irq.c index f5b74ae69b5b..6c833a9d4eab 100644 --- a/arch/nios2/kernel/irq.c +++ b/arch/nios2/kernel/irq.c @@ -67,7 +67,7 @@ static int irq_map(struct irq_domain *h, unsigned int virq, return 0; } -static struct irq_domain_ops irq_ops = { +static const struct irq_domain_ops irq_ops = { .map = irq_map, .xlate = irq_domain_xlate_onecell, };