summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-05-24 15:35:05 +0200
committerBorislav Petkov <bp@suse.de>2017-05-24 15:46:25 +0200
commit18caec20bfa56911b5d23811ae344ae8dc163ba9 (patch)
treec80b1e4db0e6c0477eb4ad6d021a9a8c1f11922e /drivers
parent08332893e37af6ae779367e78e444f8f9571511d (diff)
downloadlinux-stable-18caec20bfa56911b5d23811ae344ae8dc163ba9.tar.gz
linux-stable-18caec20bfa56911b5d23811ae344ae8dc163ba9.tar.bz2
linux-stable-18caec20bfa56911b5d23811ae344ae8dc163ba9.zip
EDAC, altera: Constify irq_domain_ops
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/edac/altera_edac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/altera_edac.c b/drivers/edac/altera_edac.c
index 7717b094fabb..122637530b15 100644
--- 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,
};