]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (k10temp) make some symbols static
authorJason Yan <yanaijie@huawei.com>
Thu, 9 Apr 2020 08:45:02 +0000 (16:45 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 12 Apr 2020 22:12:51 +0000 (15:12 -0700)
commitc930e88a4d268fdca2f3f22d53a1426f6c58cbe2
tree48cd888875ee3cd4bf99ccea93ce4754b9b96f48
parentfc395a00dc28b83ced427fd764e7ad985e4a3a01
hwmon: (k10temp) make some symbols static

Fix the following sparse warning:

drivers/hwmon/k10temp.c:189:12: warning: symbol 'k10temp_temp_label' was
not declared. Should it be static?
drivers/hwmon/k10temp.c:202:12: warning: symbol 'k10temp_in_label' was
not declared. Should it be static?
drivers/hwmon/k10temp.c:207:12: warning: symbol 'k10temp_curr_label' was
not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20200409084502.42126-1-yanaijie@huawei.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/k10temp.c