From: Dmitry Osipenko Date: Thu, 17 Jun 2021 07:24:03 +0000 (+0300) Subject: thermal/drivers/tegra: Correct compile-testing of drivers X-Git-Tag: howlett/maple/20220722_2~2316^2~18 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=8f8d8b0334cc4e7908b78e73936a7673bbef0411;p=users%2Fjedix%2Flinux-maple.git 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 Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20210617072403.3487-1-digetx@gmail.com --- 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"