diff mbox series

thermal: hisi: Do not enable by default during compile testing

Message ID 20250417074638.81329-1-krzysztof.kozlowski@linaro.org (mailing list archive)
State New
Delegated to: Daniel Lezcano
Headers show
Series thermal: hisi: Do not enable by default during compile testing | expand

Commit Message

Krzysztof Kozlowski April 17, 2025, 7:46 a.m. UTC
Enabling the compile test should not cause automatic enabling of all
drivers, but only allow to choose to compile them.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

For longer rationale:
https://lore.kernel.org/all/191543a8-2e2e-4ac4-9b2b-d253820a0c9f@app.fastmail.com/
---
 drivers/thermal/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Lukasz Luba April 17, 2025, 1:38 p.m. UTC | #1
On 4/17/25 08:46, Krzysztof Kozlowski wrote:
> Enabling the compile test should not cause automatic enabling of all
> drivers, but only allow to choose to compile them.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---
> 
> For longer rationale:
> https://lore.kernel.org/all/191543a8-2e2e-4ac4-9b2b-d253820a0c9f@app.fastmail.com/
> ---
>   drivers/thermal/Kconfig | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
> index d3f9686e26e7..510c2b821546 100644
> --- a/drivers/thermal/Kconfig
> +++ b/drivers/thermal/Kconfig
> @@ -257,7 +257,7 @@ config HISI_THERMAL
>   	depends on ARCH_HISI || COMPILE_TEST
>   	depends on HAS_IOMEM
>   	depends on OF
> -	default y
> +	default ARCH_HISI
>   	help
>   	  Enable this to plug hisilicon's thermal sensor driver into the Linux
>   	  thermal framework. cpufreq is used as the cooling device to throttle


Make sense, thanks Krzysztof for the clean up.

Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Daniel Lezcano April 17, 2025, 8:53 p.m. UTC | #2
On Thu, Apr 17, 2025 at 09:46:37AM +0200, Krzysztof Kozlowski wrote:
> Enabling the compile test should not cause automatic enabling of all
> drivers, but only allow to choose to compile them.
> 
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> 
> ---

Applied, thanks
diff mbox series

Patch

diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig
index d3f9686e26e7..510c2b821546 100644
--- a/drivers/thermal/Kconfig
+++ b/drivers/thermal/Kconfig
@@ -257,7 +257,7 @@  config HISI_THERMAL
 	depends on ARCH_HISI || COMPILE_TEST
 	depends on HAS_IOMEM
 	depends on OF
-	default y
+	default ARCH_HISI
 	help
 	  Enable this to plug hisilicon's thermal sensor driver into the Linux
 	  thermal framework. cpufreq is used as the cooling device to throttle