rtc: lpc24xx: add missing dependency
authorAntoniu Miclaus <antoniu.miclaus@analog.com>
Tue, 14 Nov 2023 11:45:31 +0000 (13:45 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 8 Jan 2024 00:13:56 +0000 (01:13 +0100)
The driver depends on COMMON_CLK. Add the dependency in Kconfig.

Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
Link: https://lore.kernel.org/r/20231114114532.37840-1-antoniu.miclaus@analog.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig

index 68a530ef10669088495ccde5c5acc9b6a5c5be73..1ea9c7600150517cde6399c51b2d5016a355940f 100644 (file)
@@ -1717,6 +1717,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.