diff options
| author | Tobias Klauser <[email protected]> | 2017-05-24 15:35:05 +0200 |
|---|---|---|
| committer | Borislav Petkov <[email protected]> | 2017-05-24 15:46:25 +0200 |
| commit | 18caec20bfa56911b5d23811ae344ae8dc163ba9 (patch) | |
| tree | c80b1e4db0e6c0477eb4ad6d021a9a8c1f11922e | |
| parent | 08332893e37af6ae779367e78e444f8f9571511d (diff) | |
EDAC, altera: Constify irq_domain_ops
struct irq_domain_ops is not modified, so it can be made const.
Signed-off-by: Tobias Klauser <[email protected]>
Cc: Thor Thayer <[email protected]>
Cc: linux-edac <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Borislav Petkov <[email protected]>
| -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, }; |