summaryrefslogtreecommitdiffstats
path: root/arch/nios2
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-04-02 20:08:52 -0700
committerLey Foon Tan <ley.foon.tan@intel.com>2017-05-08 16:59:19 +0800
commit57ac76ed6c0daf02c520e09e0af421f02ee2de8b (patch)
tree8b7b3a45696c2f1632cadc72755d14f2dcd92836 /arch/nios2
parentf679b311f0683be352cb73b28d7108eed79ef795 (diff)
downloadlinux-57ac76ed6c0daf02c520e09e0af421f02ee2de8b.tar.gz
linux-57ac76ed6c0daf02c520e09e0af421f02ee2de8b.tar.bz2
linux-57ac76ed6c0daf02c520e09e0af421f02ee2de8b.zip
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>
Diffstat (limited to 'arch/nios2')
-rw-r--r--arch/nios2/kernel/irq.c2
1 files changed, 1 insertions, 1 deletions
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,
};