Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2380a792 authored by YueHaibing's avatar YueHaibing Committed by Eduardo Valentin
Browse files

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: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarEduardo Valentin <edubezval@gmail.com>
parent 0f5ee062
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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},