diff options
-rw-r--r-- | arch/arm/common/gic.c | 2 | ||||
-rw-r--r-- | arch/c6x/kernel/irq.c | 2 | ||||
-rw-r--r-- | arch/c6x/platforms/megamod-pic.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/common/gic.c b/arch/arm/common/gic.c index 7275d808f76d..f0783be17352 100644 --- a/arch/arm/common/gic.c +++ b/arch/arm/common/gic.c | |||
@@ -635,7 +635,7 @@ static int gic_irq_domain_xlate(struct irq_domain *d, | |||
635 | return 0; | 635 | return 0; |
636 | } | 636 | } |
637 | 637 | ||
638 | struct irq_domain_ops gic_irq_domain_ops = { | 638 | const struct irq_domain_ops gic_irq_domain_ops = { |
639 | .map = gic_irq_domain_map, | 639 | .map = gic_irq_domain_map, |
640 | .xlate = gic_irq_domain_xlate, | 640 | .xlate = gic_irq_domain_xlate, |
641 | }; | 641 | }; |
diff --git a/arch/c6x/kernel/irq.c b/arch/c6x/kernel/irq.c index 3d5ac600a38b..c6b36e86a010 100644 --- a/arch/c6x/kernel/irq.c +++ b/arch/c6x/kernel/irq.c | |||
@@ -86,7 +86,7 @@ static int core_domain_map(struct irq_domain *h, unsigned int virq, | |||
86 | return 0; | 86 | return 0; |
87 | } | 87 | } |
88 | 88 | ||
89 | static struct irq_domain_ops core_domain_ops = { | 89 | static const struct irq_domain_ops core_domain_ops = { |
90 | .map = core_domain_map, | 90 | .map = core_domain_map, |
91 | }; | 91 | }; |
92 | 92 | ||
diff --git a/arch/c6x/platforms/megamod-pic.c b/arch/c6x/platforms/megamod-pic.c index 61f5863f1b1d..9f35fbf2df3e 100644 --- a/arch/c6x/platforms/megamod-pic.c +++ b/arch/c6x/platforms/megamod-pic.c | |||
@@ -148,7 +148,7 @@ static int megamod_xlate(struct irq_domain *h, struct device_node *ct, | |||
148 | return 0; | 148 | return 0; |
149 | } | 149 | } |
150 | 150 | ||
151 | static struct irq_domain_ops megamod_domain_ops = { | 151 | static const struct irq_domain_ops megamod_domain_ops = { |
152 | .map = megamod_map, | 152 | .map = megamod_map, |
153 | .xlate = megamod_xlate, | 153 | .xlate = megamod_xlate, |
154 | }; | 154 | }; |