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

Commit 2421dfd6 authored by Tobias Klauser's avatar Tobias Klauser Committed by Linus Walleij
Browse files

pinctrl: sunxi: constify irq_domain_ops



struct irq_domain_ops is not modified, so it can be made const.

Suggested-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Acked-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent b8bfcb09
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -979,7 +979,7 @@ static int sunxi_pinctrl_irq_of_xlate(struct irq_domain *d,
	return 0;
}

static struct irq_domain_ops sunxi_pinctrl_irq_domain_ops = {
static const struct irq_domain_ops sunxi_pinctrl_irq_domain_ops = {
	.xlate		= sunxi_pinctrl_irq_of_xlate,
};