From: Zoltan HERPAI Date: Fri, 4 Jan 2019 19:53:46 +0000 (+0100) Subject: kernel: add further dependency for kmod-rtc-ds1307 on 4.19 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=f84321f477dd977fd19d1a2eee124d8cd713bb9d;p=openwrt%2Fstaging%2Fwigyori.git kernel: add further dependency for kmod-rtc-ds1307 on 4.19 Signed-off-by: Zoltan HERPAI --- diff --git a/package/kernel/linux/modules/other.mk b/package/kernel/linux/modules/other.mk index 38aa58e93b..86c7e513bf 100644 --- a/package/kernel/linux/modules/other.mk +++ b/package/kernel/linux/modules/other.mk @@ -476,7 +476,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 +!(LINUX_3_18||LINUX_4_9):kmod-regmap + DEPENDS:=+kmod-i2c-core +!(LINUX_3_18||LINUX_4_9):kmod-regmap +(LINUX_4_19):kmod-hwmon-core KCONFIG:=CONFIG_RTC_DRV_DS1307 \ CONFIG_RTC_CLASS=y FILES:=$(LINUX_DIR)/drivers/rtc/rtc-ds1307.ko