projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0833289
)
EDAC, altera: Constify irq_domain_ops
author
Tobias Klauser
<tklauser@distanz.ch>
Wed, 24 May 2017 13:35:05 +0000
(15:35 +0200)
committer
Borislav Petkov
<bp@suse.de>
Wed, 24 May 2017 13:46:25 +0000
(15:46 +0200)
struct irq_domain_ops is not modified, so it can be made const.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Thor Thayer <thor.thayer@linux.intel.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link:
http://lkml.kernel.org/r/20170524133505.1233-1-tklauser@distanz.ch
Signed-off-by: Borislav Petkov <bp@suse.de>
drivers/edac/altera_edac.c
patch
|
blob
|
history
diff --git
a/drivers/edac/altera_edac.c
b/drivers/edac/altera_edac.c
index 7717b094fabb663ac4816d69a16fd3a9a973b4e1..122637530b15eefe383f17a9dc757f986f15b70b 100644
(file)
--- a/
drivers/edac/altera_edac.c
+++ b/
drivers/edac/altera_edac.c
@@
-1839,7
+1839,7
@@
static int a10_eccmgr_irqdomain_map(struct irq_domain *d, unsigned int irq,
return 0;
}
-static struct irq_domain_ops a10_eccmgr_ic_ops = {
+static
const
struct irq_domain_ops a10_eccmgr_ic_ops = {
.map = a10_eccmgr_irqdomain_map,
.xlate = irq_domain_xlate_twocell,
};