[PATCH] rtc: Kconfig: add missing dependency for lpc24xx

Antoniu Miclaus posted 1 patch 2 years, 1 month ago
drivers/rtc/Kconfig | 1 +
1 file changed, 1 insertion(+)
[PATCH] rtc: Kconfig: add missing dependency for lpc24xx
Posted by Antoniu Miclaus 2 years, 1 month ago
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
Re: [PATCH] rtc: Kconfig: add missing dependency for lpc24xx
Posted by Alexandre Belloni 1 year, 11 months ago
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