mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] rtc: amlogic: Do not enable by default during compile testing
@ 2025-04-17  7:46 Krzysztof Kozlowski
  2025-05-24 21:57 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Krzysztof Kozlowski @ 2025-04-17  7:46 UTC (permalink / raw)
  To: Alexandre Belloni, linux-rtc, linux-kernel; +Cc: Krzysztof Kozlowski

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] rtc: amlogic: Do not enable by default during compile testing
  2025-04-17  7:46 [PATCH] rtc: amlogic: Do not enable by default during compile testing Krzysztof Kozlowski
@ 2025-05-24 21:57 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2025-05-24 21:57 UTC (permalink / raw)
  To: linux-rtc, linux-kernel, Krzysztof Kozlowski

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-24 21:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-17  7:46 [PATCH] rtc: amlogic: Do not enable by default during compile testing Krzysztof Kozlowski
2025-05-24 21:57 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®