kernel: add dependency in w1.mk for 4.19 riscv-201812
authorZoltan HERPAI <[email protected]>
Fri, 4 Jan 2019 22:28:18 +0000 (23:28 +0100)
committerZoltan HERPAI <[email protected]>
Fri, 4 Jan 2019 22:28:18 +0000 (23:28 +0100)
Signed-off-by: Zoltan HERPAI <[email protected]>
package/kernel/linux/modules/w1.mk

index e936a28145342593c90803bc1d0f99fe1141c5f9..baf6b06625c5adcb97fd8d125912eeba55c640b8 100644 (file)
@@ -14,7 +14,7 @@ define KernelPackage/w1
   TITLE:=Dallas's 1-wire support
   KCONFIG:=CONFIG_W1
   FILES:=$(LINUX_DIR)/drivers/w1/wire.ko
-  DEPENDS:=+LINUX_4_14:kmod-hwmon-core
+  DEPENDS:=+!(LINUX_3_18||LINUX_4_9):kmod-hwmon-core
 endef
 
 define KernelPackage/w1/description