Commit e183c2a3 authored by Tobias Klauser's avatar Tobias Klauser Committed by Marc Zyngier

irqchip/irq-mbigen: Constify irq_domain_ops

struct irq_domain_ops is not modified, so it can be made const.
Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent dcbbefce
...@@ -228,7 +228,7 @@ static int mbigen_irq_domain_alloc(struct irq_domain *domain, ...@@ -228,7 +228,7 @@ static int mbigen_irq_domain_alloc(struct irq_domain *domain,
return 0; return 0;
} }
static struct irq_domain_ops mbigen_domain_ops = { static const struct irq_domain_ops mbigen_domain_ops = {
.translate = mbigen_domain_translate, .translate = mbigen_domain_translate,
.alloc = mbigen_irq_domain_alloc, .alloc = mbigen_irq_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