Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

thermal: tegra: Make tegra210_tsensor_thermtrips static

Fix sparse warning:

drivers/thermal/tegra/tegra210-soctherm.c:211:33: warning:
symbol 'tegra210_tsensor_thermtrips' was not declared. Should it be static?

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>

authored by

YueHaibing and committed by
Eduardo Valentin
2380a792 0f5ee062

+1 -1
+1 -1
drivers/thermal/tegra/tegra210-soctherm.c
··· 208 208 .fuse_spare_realignment = 0, 209 209 }; 210 210 211 - struct tsensor_group_thermtrips tegra210_tsensor_thermtrips[] = { 211 + static struct tsensor_group_thermtrips tegra210_tsensor_thermtrips[] = { 212 212 {.id = TEGRA124_SOCTHERM_SENSOR_NUM}, 213 213 {.id = TEGRA124_SOCTHERM_SENSOR_NUM}, 214 214 {.id = TEGRA124_SOCTHERM_SENSOR_NUM},