linux-rtc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] rtc: Kconfig: add missing dependency for lpc24xx
@ 2023-11-14 11:45 Antoniu Miclaus
  2024-01-08  0:31 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Antoniu Miclaus @ 2023-11-14 11:45 UTC (permalink / raw)
  To: Alessandro Zummo, Alexandre Belloni, linux-rtc, linux-kernel
  Cc: Antoniu Miclaus

The driver depends on COMMON_CLK. Add the dependency in Kconfig.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
---
 drivers/rtc/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index 3814e0845e77..c172391bb765 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1705,6 +1705,7 @@ config RTC_DRV_LPC24XX
 	tristate "NXP RTC for LPC178x/18xx/408x/43xx"
 	depends on ARCH_LPC18XX || COMPILE_TEST
 	depends on OF && HAS_IOMEM
+	depends on COMMON_CLK
 	help
 	  This enables support for the NXP RTC found which can be found on
 	  NXP LPC178x/18xx/408x/43xx devices.
-- 
2.42.0


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

* Re: [PATCH] rtc: Kconfig: add missing dependency for lpc24xx
  2023-11-14 11:45 [PATCH] rtc: Kconfig: add missing dependency for lpc24xx Antoniu Miclaus
@ 2024-01-08  0:31 ` Alexandre Belloni
  0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Belloni @ 2024-01-08  0:31 UTC (permalink / raw)
  To: Alessandro Zummo, linux-rtc, linux-kernel, Antoniu Miclaus


On Tue, 14 Nov 2023 13:45:31 +0200, Antoniu Miclaus wrote:
> The driver depends on COMMON_CLK. Add the dependency in Kconfig.
> 
> 

Applied, thanks!

[1/1] rtc: Kconfig: add missing dependency for lpc24xx
      commit: cd0d7d6639de4468d181c87e45cfd07d51b525da

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:[~2024-01-08  0:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-14 11:45 [PATCH] rtc: Kconfig: add missing dependency for lpc24xx Antoniu Miclaus
2024-01-08  0:31 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).