Commit a5c79505 authored by YueHaibing's avatar YueHaibing Committed by Greg Kroah-Hartman

staging: most: configfs: Make mdev_link_list static

Fix sparse warning:

drivers/staging/most/configfs.c:34:18: warning:
 symbol 'mdev_link_list' was not declared. Should it be static?
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8bedf934
...@@ -31,7 +31,7 @@ struct mdev_link { ...@@ -31,7 +31,7 @@ struct mdev_link {
char comp_params[PAGE_SIZE]; char comp_params[PAGE_SIZE];
}; };
struct list_head mdev_link_list; static struct list_head mdev_link_list;
static int set_cfg_buffer_size(struct mdev_link *link) static int set_cfg_buffer_size(struct mdev_link *link)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment