提交 aeb583d0 编写于 作者: T Thiago Farina 提交者: Joerg Roedel

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

warning: symbol 'filter_fops' was not declared. Should it be static?
Signed-off-by: NThiago Farina <tfransosi@gmail.com>
Signed-off-by: NJoerg Roedel <joerg.roedel@amd.com>
上级 f797d988
......@@ -587,7 +587,7 @@ static ssize_t filter_write(struct file *file, const char __user *userbuf,
return count;
}
const struct file_operations filter_fops = {
static const struct file_operations filter_fops = {
.read = filter_read,
.write = filter_write,
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册