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:
173bda5
)
irqchip/i8259: Constify irq_domain_ops
author
Tobias Klauser
<tklauser@distanz.ch>
Fri, 2 Jun 2017 08:20:53 +0000
(10:20 +0200)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Thu, 22 Jun 2017 13:12:49 +0000
(14:12 +0100)
struct irq_domain_ops is not modified, so it can be made const.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-i8259.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/irqchip/irq-i8259.c
b/drivers/irqchip/irq-i8259.c
index 1aec12c6d9ac83cb4338d4c0c44a78b83c1e01d8..7aafbb091b67cc1f6c8897b92d07697226e2c866 100644
(file)
--- a/
drivers/irqchip/irq-i8259.c
+++ b/
drivers/irqchip/irq-i8259.c
@@
-307,7
+307,7
@@
static int i8259A_irq_domain_map(struct irq_domain *d, unsigned int virq,
return 0;
}
-static struct irq_domain_ops i8259A_ops = {
+static
const
struct irq_domain_ops i8259A_ops = {
.map = i8259A_irq_domain_map,
.xlate = irq_domain_xlate_onecell,
};