projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bdf502
)
irqchip/gic: Make irq_chip const
author
Bhumika Goyal
<bhumirks@gmail.com>
Sat, 19 Aug 2017 10:52:37 +0000
(16:22 +0530)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Thu, 31 Aug 2017 14:31:43 +0000
(15:31 +0100)
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>
drivers/irqchip/irq-gic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/irqchip/irq-gic.c
b/drivers/irqchip/irq-gic.c
index 1b1df4f770bdefe0a16e0109624801f8af90f1f7..6a089f3c4ace58d0ccefb63b281f123efb7a6994 100644
(file)
--- a/
drivers/irqchip/irq-gic.c
+++ b/
drivers/irqchip/irq-gic.c
@@
-410,7
+410,7
@@
static void gic_handle_cascade_irq(struct irq_desc *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_unmask = gic_unmask_irq,
.irq_eoi = gic_eoi_irq,