diff mbox series

[thermal:,thermal/next] thermal/drivers/tegra: Correct compile-testing of drivers

Message ID 162426880422.395.3306659775280091620.tip-bot2@tip-bot2
State Superseded
Headers show
Series [thermal:,thermal/next] thermal/drivers/tegra: Correct compile-testing of drivers | expand

Commit Message

thermal-bot for Julien Panis June 21, 2021, 9:46 a.m. UTC
The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     1f9c5936b10c8ac38bfd3a931915b6c50b72ba05
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//1f9c5936b10c8ac38bfd3a931915b6c50b72ba05
Author:        Dmitry Osipenko <digetx@gmail.com>
AuthorDate:    Thu, 17 Jun 2021 10:24:03 +03:00
Committer:     Daniel Lezcano <daniel.lezcano@linaro.org>
CommitterDate: Thu, 17 Jun 2021 17:59:00 +02:00

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
---
 drivers/thermal/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/thermal/tegra/Kconfig b/drivers/thermal/tegra/Kconfig
index 46c2215..eca61c5 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"