Commit 8297955f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Tony Lindgren

ARM: OMAP2+: Constify irq_domain_ops

The irq_domain_ops are not modified by the driver and the irqdomain core
code accepts pointer to a const data.
Signed-off-by: default avatarKrzysztof Kozlowski <k.kozlowski.k@gmail.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 026df6ca
...@@ -444,7 +444,7 @@ static int wakeupgen_domain_alloc(struct irq_domain *domain, ...@@ -444,7 +444,7 @@ static int wakeupgen_domain_alloc(struct irq_domain *domain,
return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &parent_args); return irq_domain_alloc_irqs_parent(domain, virq, nr_irqs, &parent_args);
} }
static struct irq_domain_ops wakeupgen_domain_ops = { static const struct irq_domain_ops wakeupgen_domain_ops = {
.xlate = wakeupgen_domain_xlate, .xlate = wakeupgen_domain_xlate,
.alloc = wakeupgen_domain_alloc, .alloc = wakeupgen_domain_alloc,
.free = irq_domain_free_irqs_common, .free = irq_domain_free_irqs_common,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment