mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
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>
This commit is contained in:
parent
0f5ee062d8
commit
2380a792de
@ -208,7 +208,7 @@ static const struct tegra_soctherm_fuse tegra210_soctherm_fuse = {
|
||||
.fuse_spare_realignment = 0,
|
||||
};
|
||||
|
||||
struct tsensor_group_thermtrips tegra210_tsensor_thermtrips[] = {
|
||||
static struct tsensor_group_thermtrips tegra210_tsensor_thermtrips[] = {
|
||||
{.id = TEGRA124_SOCTHERM_SENSOR_NUM},
|
||||
{.id = TEGRA124_SOCTHERM_SENSOR_NUM},
|
||||
{.id = TEGRA124_SOCTHERM_SENSOR_NUM},
|
||||
|
Loading…
Reference in New Issue
Block a user