rtc: lpc24xx: add missing dependency
[sfrench/cifs-2.6.git] / 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.