浏览代码

lib/dma-debug.c: mark file-local struct symbol static.

warning: symbol 'filter_fops' was not declared. Should it be static?

Signed-off-by: Thiago Farina <tfransosi@gmail.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Thiago Farina 15 年之前
父节点
当前提交
aeb583d081
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/dma-debug.c

+ 1 - 1
lib/dma-debug.c

@@ -587,7 +587,7 @@ out_unlock:
 	return count;
 	return count;
 }
 }
 
 
-const struct file_operations filter_fops = {
+static const struct file_operations filter_fops = {
 	.read  = filter_read,
 	.read  = filter_read,
 	.write = filter_write,
 	.write = filter_write,
 };
 };