summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-06-17 10:24:03 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-08-14 12:24:06 +0200
commit8f8d8b0334cc4e7908b78e73936a7673bbef0411 (patch)
tree63ca34e4e59cd016dcc943535a2178b5194b9b15 /drivers/thermal
parent3747e4263ff6d6085507a32946f8236c62dd2495 (diff)
downloadlinux-stable-8f8d8b0334cc4e7908b78e73936a7673bbef0411.tar.gz
linux-stable-8f8d8b0334cc4e7908b78e73936a7673bbef0411.tar.bz2
linux-stable-8f8d8b0334cc4e7908b78e73936a7673bbef0411.zip
thermal/drivers/tegra: Correct compile-testing of drivers
All Tegra thermal drivers support compile-testing, but the drivers are not available for compile-testing because the whole Kconfig meny entry depends on ARCH_TEGRA, missing the alternative COMPILE_TEST dependency option. Correct the Kconfig entry. Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20210617072403.3487-1-digetx@gmail.com
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/tegra/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/tegra/Kconfig b/drivers/thermal/tegra/Kconfig
index 019e3a2eb69e..cfa41d87a794 100644
--- a/drivers/thermal/tegra/Kconfig
+++ b/drivers/thermal/tegra/Kconfig
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
menu "NVIDIA Tegra thermal drivers"
-depends on ARCH_TEGRA
+depends on ARCH_TEGRA || COMPILE_TEST
config TEGRA_SOCTHERM
tristate "Tegra SOCTHERM thermal management"