diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-05-13 15:55:59 +0200 |
---|---|---|
committer | Eduardo Valentin <edubezval@gmail.com> | 2019-05-24 06:52:47 +0200 |
commit | 2380a792dec059338c8d989e64c5d933c553949c (patch) | |
tree | b64efeedd0cfb0a57d081f771257f0731ab012b0 /drivers/thermal/tegra | |
parent | Revert "thermal: rockchip: fix up the tsadc pinctrl setting error" (diff) | |
download | linux-2380a792dec059338c8d989e64c5d933c553949c.tar.xz linux-2380a792dec059338c8d989e64c5d933c553949c.zip |
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>
Diffstat (limited to 'drivers/thermal/tegra')
-rw-r--r-- | drivers/thermal/tegra/tegra210-soctherm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/tegra/tegra210-soctherm.c b/drivers/thermal/tegra/tegra210-soctherm.c index d31b50050faa..d0ff793f18c5 100644 --- a/drivers/thermal/tegra/tegra210-soctherm.c +++ b/drivers/thermal/tegra/tegra210-soctherm.c @@ -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}, |