aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/edac
diff options
context:
space:
mode:
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>2014-12-08 20:04:55 -0500
committerBorislav Petkov <bp@suse.de>2014-12-21 06:44:58 -0500
commit8c2b117fdf004ebcb81129307996218a7d471cda (patch)
treeb7db4731faeb80f6c1249c32c3ec778c2986ca95 /drivers/edac
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
EDAC, mce_amd_inj: Fix sparse non static symbol warning
Fixes the following sparse warnings: drivers/edac/mce_amd_inj.c:204:3: warning: symbol 'dfs_fls' was not declared. Should it be static? Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Link: http://lkml.kernel.org/r/1418087095-14174-1-git-send-email-weiyj_lk@163.com Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac')
-rw-r--r--drivers/edac/mce_amd_inj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/edac/mce_amd_inj.c b/drivers/edac/mce_amd_inj.c
index 0bd91a802c67..f7681b553fd5 100644
--- a/drivers/edac/mce_amd_inj.c
+++ b/drivers/edac/mce_amd_inj.c
@@ -197,7 +197,7 @@ static int inj_bank_get(void *data, u64 *val)
197 197
198DEFINE_SIMPLE_ATTRIBUTE(bank_fops, inj_bank_get, inj_bank_set, "%llu\n"); 198DEFINE_SIMPLE_ATTRIBUTE(bank_fops, inj_bank_get, inj_bank_set, "%llu\n");
199 199
200struct dfs_node { 200static struct dfs_node {
201 char *name; 201 char *name;
202 struct dentry *d; 202 struct dentry *d;
203 const struct file_operations *fops; 203 const struct file_operations *fops;