Commit 73c4c37c authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Marc Zyngier

irqchip/gic: Make irq_chip const

Make this const as it is only used in a copy operation.
Done using Coccinelle.
Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 4bdf5025
...@@ -410,7 +410,7 @@ static void gic_handle_cascade_irq(struct irq_desc *desc) ...@@ -410,7 +410,7 @@ static void gic_handle_cascade_irq(struct irq_desc *desc)
chained_irq_exit(chip, desc); chained_irq_exit(chip, desc);
} }
static struct irq_chip gic_chip = { static const struct irq_chip gic_chip = {
.irq_mask = gic_mask_irq, .irq_mask = gic_mask_irq,
.irq_unmask = gic_unmask_irq, .irq_unmask = gic_unmask_irq,
.irq_eoi = gic_eoi_irq, .irq_eoi = gic_eoi_irq,
......
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