summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/tegra/Kconfig
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2021-06-17 09:24:03 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-08-14 12:24:06 +0200
commit8f8d8b0334cc4e7908b78e73936a7673bbef0411 (patch)
tree63ca34e4e59cd016dcc943535a2178b5194b9b15 /drivers/thermal/tegra/Kconfig
parentthermal/drivers/tegra: Add driver for Tegra30 thermal sensor (diff)
downloadlinux-8f8d8b0334cc4e7908b78e73936a7673bbef0411.tar.xz
linux-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/tegra/Kconfig')
-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"