rtc: Kconfig: add missing dependency for lpc24xx

Message ID 20231114114532.37840-1-antoniu.miclaus@analog.com
State New
Headers
Series rtc: Kconfig: add missing dependency for lpc24xx |

Commit Message

Antoniu Miclaus Nov. 14, 2023, 11:45 a.m. UTC
  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(+)
  

Comments

Alexandre Belloni Jan. 8, 2024, 12:31 a.m. UTC | #1
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,
  

Patch

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.