Skip to contentSkip to conversation

thermal/drivers/tegra: Correct compile-testing of drivers

PATCH Applied Dmitry Osipenko 2 participants 3 messages Jun 17, 2021 – Sep 9, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/thermal/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/tegra/Kconfig +1 -1
index 019e3a2eb69e..cfa41d87a794 100644
@@ -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"
Signature · 1 line
2.30.2
#1 lore raw
The following commit has been merged into the thermal/next branch of thermal:

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 <[email protected]>
AuthorDate:    Thu, 17 Jun 2021 10:24:03 +03:00
Committer:     Daniel Lezcano <[email protected]>
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.

---
 drivers/thermal/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/tegra/Kconfig +1 -1
index 46c2215..eca61c5 100644
@@ -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"
#2 lore raw
In reply to Dmitry Osipenko
The following commit has been merged into the thermal/next branch of thermal:

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 <[email protected]>
AuthorDate:    Thu, 17 Jun 2021 10:24:03 +03:00
Committer:     Daniel Lezcano <[email protected]>
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.

---
 drivers/thermal/tegra/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/tegra/Kconfig +1 -1
index 019e3a2..cfa41d8 100644
@@ -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"