Thread (3 messages) 3 messages, 2 authors, 2021-09-09

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

From: thermal-bot for Dmitry Osipenko <hidden>
Date: 2021-09-09 14:38:55
Subsystem: the rest, thermal · Maintainers: Linus Torvalds, Rafael J. Wysocki, Daniel Lezcano

The following commit has been merged into the thermal/next branch of thermal:

Commit-ID:     8f8d8b0334cc4e7908b78e73936a7673bbef0411
Gitweb:        https://git.kernel.org/pub/scm/linux/kernel/git/thermal/linux.git//8f8d8b0334cc4e7908b78e73936a7673bbef0411
Author:        Dmitry Osipenko [off-list ref]
AuthorDate:    Thu, 17 Jun 2021 10:24:03 +03:00
Committer:     Daniel Lezcano [off-list ref]
CommitterDate: Sat, 14 Aug 2021 12:24:06 +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 <redacted>
Link: https://lore.kernel.org/r/20210617072403.3487-1-digetx@gmail.com (local)
---
 drivers/thermal/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/thermal/tegra/Kconfig b/drivers/thermal/tegra/Kconfig
index 019e3a2..cfa41d8 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"
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help