summaryrefslogtreecommitdiff
path: root/drivers/hwmon/vt8231.c
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2020-07-21 21:49:19 +0800
committerGuenter Roeck <linux@roeck-us.net>2020-07-24 07:44:57 -0700
commit2fdf8f7f086712bbe296d1d4d4049ca88e7a662d (patch)
tree2c8ef319ebc27383d96fab96e3684e2392d479f4 /drivers/hwmon/vt8231.c
parentfa4dac3e1bf7fadb4c5e098dcd721eafe3cd80c5 (diff)
hwmon: (sparx5) Make symbol 's5_temp_match' static
The sparse tool complains as follows: drivers/hwmon/sparx5-temp.c:150:27: warning: symbol 's5_temp_match' was not declared. Should it be static? This variable is not used outside of sparx5-temp.c, this commit marks it static. Fixes: c2cb4b5777e1 ("hwmon: sparx5: Add Sparx5 SoC temperature driver") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Link: https://lore.kernel.org/r/20200721134919.34033-1-weiyongjun1@huawei.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/vt8231.c')
0 files changed, 0 insertions, 0 deletions