[source] kernel: kmod-rtc-ds1307: add dependency to regmap

LEDE Commits lede-commits at lists.infradead.org
Sat Dec 16 13:18:34 PST 2017


hauke pushed a commit to source.git, branch master:
https://git.lede-project.org/e387d9b0ca5ff0000f3e77a3c8f674c5d9b546cf

commit e387d9b0ca5ff0000f3e77a3c8f674c5d9b546cf
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Nov 25 22:05:21 2017 +0100

    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 <hauke at hauke-m.de>
---
 package/kernel/linux/modules/other.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk
index b4538cc..1c7869e 100644
--- a/package/kernel/linux/modules/other.mk
+++ b/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



More information about the lede-commits mailing list