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:
f679b31
)
nios2: constify irq_domain_ops
author
Tobias Klauser
<tklauser@distanz.ch>
Mon, 3 Apr 2017 03:08:52 +0000
(20:08 -0700)
committer
Ley Foon Tan
<ley.foon.tan@intel.com>
Mon, 8 May 2017 08:59:19 +0000
(16:59 +0800)
struct irq_domain_ops is not modified, so it can be made const.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Ley Foon Tan <ley.foon.tan@intel.com>
arch/nios2/kernel/irq.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/nios2/kernel/irq.c
b/arch/nios2/kernel/irq.c
index f5b74ae69b5b331bc237399b43448b3b66521329..6c833a9d4eab8dc979b84b72d7ce1d15ed0fb9a5 100644
(file)
--- a/
arch/nios2/kernel/irq.c
+++ b/
arch/nios2/kernel/irq.c
@@
-67,7
+67,7
@@
static int irq_map(struct irq_domain *h, unsigned int virq,
return 0;
}
-static struct irq_domain_ops irq_ops = {
+static
const
struct irq_domain_ops irq_ops = {
.map = irq_map,
.xlate = irq_domain_xlate_onecell,
};