From: Pascal Coudurier Date: Sun, 20 Aug 2023 13:12:16 +0000 (+0200) Subject: kernel: modules: hwmon: adapt nct6775 for kernel 6.1 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ce098f47910402f70a3e62f128a28a04b6673ef2;p=openwrt%2Fstaging%2Fthess.git 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 --- 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