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:
1957b7b
)
irqchip/aspeed-vic: Constify irq_domain_ops
author
Tobias Klauser
<tklauser@distanz.ch>
Fri, 2 Jun 2017 08:20:52 +0000
(10:20 +0200)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Thu, 22 Jun 2017 13:13:34 +0000
(14:13 +0100)
struct irq_domain_ops is not modified, so it can be made const.
Cc: Joel Stanley <joel@jms.id.au>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-aspeed-vic.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/irqchip/irq-aspeed-vic.c
b/drivers/irqchip/irq-aspeed-vic.c
index d24451d5bf8ab1f9921bc4da2b1bd2ffe5e4b09b..88e139e4c1f90799c0ffb9027fff083be5a319c0 100644
(file)
--- a/
drivers/irqchip/irq-aspeed-vic.c
+++ b/
drivers/irqchip/irq-aspeed-vic.c
@@
-186,7
+186,7
@@
static int avic_map(struct irq_domain *d, unsigned int irq,
return 0;
}
-static struct irq_domain_ops avic_dom_ops = {
+static
const
struct irq_domain_ops avic_dom_ops = {
.map = avic_map,
.xlate = irq_domain_xlate_onetwocell,
};