Skip to content

Commit 57a744e

Browse files
masahir0yMarc Zyngier
authored andcommitted
irqchip/ativic32: Constify irq_domain_ops
This is passed to irq_domain_add_linear(), which accepts a pointer to a const structure. Signed-off-by: Masahiro Yamada <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 5257169 commit 57a744e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/irqchip/irq-ativic32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ static int ativic32_irq_domain_map(struct irq_domain *id, unsigned int virq,
9292
return 0;
9393
}
9494

95-
static struct irq_domain_ops ativic32_ops = {
95+
static const struct irq_domain_ops ativic32_ops = {
9696
.map = ativic32_irq_domain_map,
9797
.xlate = irq_domain_xlate_onecell
9898
};

0 commit comments

Comments
 (0)