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>
This commit is contained in:
Pascal Coudurier 2023-08-20 15:12:16 +02:00 committed by Christian Marangi
parent af52f72f94
commit ce098f4791
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7

View File

@ -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