diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-05-24 15:35:05 +0200 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2017-05-24 15:46:25 +0200 |
commit | 18caec20bfa56911b5d23811ae344ae8dc163ba9 (patch) | |
tree | c80b1e4db0e6c0477eb4ad6d021a9a8c1f11922e /drivers/edac | |
parent | 08332893e37af6ae779367e78e444f8f9571511d (diff) | |
download | linux-18caec20bfa56911b5d23811ae344ae8dc163ba9.tar.bz2 |
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/edac')
-rw-r--r-- | drivers/edac/altera_edac.c | 2 |
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, }; |