mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 02:39:48 +00:00
irqchip/gic: Make irq_chip const
Make this const as it is only used in a copy operation. Done using Coccinelle. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
This commit is contained in:
parent
4bdf502517
commit
73c4c37c7e
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue