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

irqchip/irq-imx-gpcv2: 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 53ccf331
...@@ -200,7 +200,7 @@ static int imx_gpcv2_domain_alloc(struct irq_domain *domain, ...@@ -200,7 +200,7 @@ static int imx_gpcv2_domain_alloc(struct irq_domain *domain,
&parent_fwspec); &parent_fwspec);
} }
static struct irq_domain_ops gpcv2_irqchip_data_domain_ops = { static const struct irq_domain_ops gpcv2_irqchip_data_domain_ops = {
.translate = imx_gpcv2_domain_translate, .translate = imx_gpcv2_domain_translate,
.alloc = imx_gpcv2_domain_alloc, .alloc = imx_gpcv2_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