Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@ static int mbigen_irq_domain_alloc(struct irq_domain *domain,
	return 0;
}

static struct irq_domain_ops mbigen_domain_ops = {
static const struct irq_domain_ops mbigen_domain_ops = {
	.translate	= mbigen_domain_translate,
	.alloc		= mbigen_irq_domain_alloc,
	.free		= irq_domain_free_irqs_common,