提交 76f8ab1b 编写于 作者: W Wei Yongjun 提交者: Greg Kroah-Hartman

test_firmware: make local symbol test_fw_config static

Fixes the following sparse warnings:

lib/test_firmware.c:99:20: warning:
 symbol 'test_fw_config' was not declared. Should it be static?
Signed-off-by: NWei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 5d54f948
......@@ -96,7 +96,7 @@ struct test_config {
struct device *device);
};
struct test_config *test_fw_config;
static struct test_config *test_fw_config;
static ssize_t test_fw_misc_read(struct file *f, char __user *buf,
size_t size, loff_t *offset)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册