kernel: kmod-rtc-ds1307: add dependency to regmap
[openwrt/openwrt.git] / package / kernel / linux / modules / other.mk
index b4538cc8f2d8ccfb86c63217b302b3ed8db2a264..1c7869e7c6758bc67bf4a8a867103a8c83331f80 100644 (file)
@@ -443,7 +443,7 @@ define KernelPackage/rtc-ds1307
   SUBMENU:=$(OTHER_MENU)
   TITLE:=Dallas/Maxim DS1307 (and compatible) RTC support
   DEFAULT:=m if ALL_KMODS && RTC_SUPPORT
-  DEPENDS:=+kmod-i2c-core
+  DEPENDS:=+kmod-i2c-core +LINUX_4_14:kmod-regmap
   KCONFIG:=CONFIG_RTC_DRV_DS1307 \
        CONFIG_RTC_CLASS=y
   FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko