diff options
author | Wei Yongjun <weiyj.lk@gmail.com> | 2016-08-10 09:44:27 -0400 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2016-08-10 12:37:06 -0400 |
commit | 9bcd919eb84224aee2a5ed4fa33ed80aabfe0343 (patch) | |
tree | 0329e1dab8b9a0c4b38d1859964cff9235da7d8b | |
parent | 03fc6ea97f02006ea4dbc1e9f1e8ccba6fe58656 (diff) |
EDAC, altera: Make a10_eccmgr_ic_ops static
Fix the following sparse warning:
drivers/edac/altera_edac.c:1649:23: warning:
symbol 'a10_eccmgr_ic_ops' was not declared. Should it be static?
Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
Reviewed-by: Thor Thayer <tthayer@opensource.altera.com>
Cc: linux-edac <linux-edac@vger.kernel.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Link: http://lkml.kernel.org/r/1470836667-11822-1-git-send-email-weiyj.lk@gmail.com
Signed-off-by: Borislav Petkov <bp@suse.de>
-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 efaf727be25a..c8147f1d9edd 100644 --- a/drivers/edac/altera_edac.c +++ b/drivers/edac/altera_edac.c | |||
@@ -1831,7 +1831,7 @@ static int a10_eccmgr_irqdomain_map(struct irq_domain *d, unsigned int irq, | |||
1831 | return 0; | 1831 | return 0; |
1832 | } | 1832 | } |
1833 | 1833 | ||
1834 | struct irq_domain_ops a10_eccmgr_ic_ops = { | 1834 | static struct irq_domain_ops a10_eccmgr_ic_ops = { |
1835 | .map = a10_eccmgr_irqdomain_map, | 1835 | .map = a10_eccmgr_irqdomain_map, |
1836 | .xlate = irq_domain_xlate_twocell, | 1836 | .xlate = irq_domain_xlate_twocell, |
1837 | }; | 1837 | }; |