[PATCH] rtc: amlogic: Do not enable by default during compile testing

Krzysztof Kozlowski posted 1 patch 8 months ago
drivers/rtc/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] rtc: amlogic: Do not enable by default during compile testing
Posted by Krzysztof Kozlowski 8 months ago
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/rtc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 838bdc138ffe..6153c50d1abd 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -2088,7 +2088,7 @@ config RTC_DRV_AMLOGIC_A4
 	tristate "Amlogic RTC"
 	depends on ARCH_MESON || COMPILE_TEST
 	select REGMAP_MMIO
-	default y
+	default ARCH_MESON
 	help
 	  If you say yes here you get support for the RTC block on the
 	  Amlogic A113L2(A4) and A113X2(A5) SoCs.
-- 
2.45.2
Re: [PATCH] rtc: amlogic: Do not enable by default during compile testing
Posted by Alexandre Belloni 6 months, 3 weeks ago
On Thu, 17 Apr 2025 09:46:40 +0200, Krzysztof Kozlowski wrote:
> Enabling the compile test should not cause automatic enabling of all
> drivers, but only allow to choose to compile them.
> 
> 

Applied, thanks!

[1/1] rtc: amlogic: Do not enable by default during compile testing
      https://git.kernel.org/abelloni/c/7498dca1d0d1

Best regards,

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com