Browse Source

kernel: kmod-rtc-ds1307: add dependency to regmap

In kernel 4.14 kmod-rtc-ds1307 depends on regmap-i2c, add this missing
dependency.

Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens 8 years ago
parent
commit
e387d9b0ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/kernel/linux/modules/other.mk

+ 1 - 1
package/kernel/linux/modules/other.mk

@@ -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