summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Coudurier <coudu@gmx.com>2023-08-20 15:12:16 +0200
committerChristian Marangi <ansuelsmth@gmail.com>2023-09-19 11:38:37 +0200
commitce098f47910402f70a3e62f128a28a04b6673ef2 (patch)
tree7486e83ce66b112e9af04fc3b0ceff720cbb46bb
parentaf52f72f94794f9f73259d86c2f7d7f74410d023 (diff)
downloadopenwrt-ce098f47910402f70a3e62f128a28a04b6673ef2.tar.gz
openwrt-ce098f47910402f70a3e62f128a28a04b6673ef2.tar.bz2
openwrt-ce098f47910402f70a3e62f128a28a04b6673ef2.zip
kernel: modules: hwmon: adapt nct6775 for kernel 6.1
nct6775 module splited in 5.19 kernel: * add nct6775-core module @ge5.19 * add regmap dependency for 6.1 Signed-off-by: Pascal Coudurier <coudu@gmx.com>
-rw-r--r--package/kernel/linux/modules/hwmon.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index 5761c4bc6b..092bdf2b10 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -417,9 +417,11 @@ $(eval $(call KernelPackage,hwmon-mcp3021))
define KernelPackage/hwmon-nct6775
TITLE:=NCT6106D/6775F/6776F/6779D/6791D/6792D/6793D and compatibles monitoring support
KCONFIG:=CONFIG_SENSORS_NCT6775
- FILES:=$(LINUX_DIR)/drivers/hwmon/nct6775.ko
+ FILES:= \
+ $(LINUX_DIR)/drivers/hwmon/nct6775.ko \
+ $(LINUX_DIR)/drivers/hwmon/nct6775-core.ko@ge5.19
AUTOLOAD:=$(call AutoProbe,nct6775)
- $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid)
+ $(call AddDepends/hwmon,@PCI_SUPPORT @TARGET_x86 +kmod-hwmon-vid +LINUX_6_1:kmod-regmap-core)
endef
define KernelPackage/hwmon-nct6775/description