From 28af0f2fbd4fb66ecebdbbeca385054a2b105d3d Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 22 Jan 2017 11:40:17 +0100 Subject: kernel: make kmod package dependencies forward compatible Signed-off-by: Felix Fietkau --- package/kernel/linux/modules/hwmon.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/kernel/linux/modules/hwmon.mk') diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index e2962058aa..8fdf62446d 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -98,7 +98,7 @@ define KernelPackage/hwmon-ina2xx KCONFIG:=CONFIG_SENSORS_INA2XX FILES:=$(LINUX_DIR)/drivers/hwmon/ina2xx.ko AUTOLOAD:=$(call AutoProbe,ina2xx) - $(call AddDepends/hwmon,+kmod-i2c-core +LINUX_4_4:kmod-regmap) + $(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_3_18:kmod-regmap) endef define KernelPackage/hwmon-ina2xx/description -- cgit v1.2.3