diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-04-17 22:58:58 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-04-19 14:59:36 +0200 |
commit | a5c795056c443fd5c5a60c840787a8990f6b24a4 (patch) | |
tree | 6f3368b8825dd54362ce55f2ea8ea66a607075bc /drivers/staging/most | |
parent | 8bedf934a33b2635da2304598735ab74f66d4719 (diff) | |
download | linux-a5c795056c443fd5c5a60c840787a8990f6b24a4.tar.gz linux-a5c795056c443fd5c5a60c840787a8990f6b24a4.tar.bz2 linux-a5c795056c443fd5c5a60c840787a8990f6b24a4.zip |
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: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/most')
-rw-r--r-- | drivers/staging/most/configfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/most/configfs.c b/drivers/staging/most/configfs.c index 934fb6d668a5..1d8bf29e0ffb 100644 --- a/drivers/staging/most/configfs.c +++ b/drivers/staging/most/configfs.c @@ -31,7 +31,7 @@ struct mdev_link { 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) { |