]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
kernel/hwmon-sch5627: 6.12: fix missing dependency
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Sun, 27 Apr 2025 17:01:49 +0000 (19:01 +0200)
committerChristian Marangi <ansuelsmth@gmail.com>
Wed, 30 Apr 2025 14:26:48 +0000 (16:26 +0200)
Add missing depends kmod-regmap-core.

Package kmod-hwmon-sch5627 is missing dependencies for the following libraries:
regmap-core.ko

Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=a54fe61639d9f3b6765fee32edda7cfceb6d705a

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
package/kernel/linux/modules/hwmon.mk

index 1b85c3c7cdd7df3702ef94a433261b372a85dd30..3e19a36cb00fb6e5f2485691955748c7b39255e3 100644 (file)
@@ -548,7 +548,7 @@ define KernelPackage/hwmon-sch5627
        $(LINUX_DIR)/drivers/hwmon/sch5627.ko \
        $(LINUX_DIR)/drivers/hwmon/sch56xx-common.ko
   AUTOLOAD:=$(call AutoProbe,sch5627)
-  $(call AddDepends/hwmon,+kmod-i2c-core)
+  $(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_6_6:kmod-regmap-core)
 endef
 
 define KernelPackage/hwmon-sch5627/description