projects
/
GitHub
/
moto-9609
/
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:
dcbbefc
)
irqchip/irq-mbigen: Constify irq_domain_ops
author
Tobias Klauser
<tklauser@distanz.ch>
Fri, 2 Jun 2017 08:20:55 +0000
(10:20 +0200)
committer
Marc Zyngier
<marc.zyngier@arm.com>
Thu, 22 Jun 2017 13:13:00 +0000
(14:13 +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-mbigen.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/irqchip/irq-mbigen.c
b/drivers/irqchip/irq-mbigen.c
index 31d6b5a582d28a2b4fdd0d0c0f0bf9e6113a9e4d..567b29c476081056232f13eed15a27c8d8d4fa64 100644
(file)
--- a/
drivers/irqchip/irq-mbigen.c
+++ b/
drivers/irqchip/irq-mbigen.c
@@
-228,7
+228,7
@@
static int mbigen_irq_domain_alloc(struct irq_domain *domain,
return 0;
}
-static struct irq_domain_ops mbigen_domain_ops = {
+static
const
struct irq_domain_ops mbigen_domain_ops = {
.translate = mbigen_domain_translate,
.alloc = mbigen_irq_domain_alloc,
.free = irq_domain_free_irqs_common,