diff mbox series

rtc: amlogic: Do not enable by default during compile testing

Message ID 20250417074640.81363-1-krzysztof.kozlowski@linaro.org
State Accepted
Headers show
Series rtc: amlogic: 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/rtc/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alexandre Belloni May 24, 2025, 9:57 p.m. UTC | #1
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,
diff mbox series

Patch

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.