[openwrt/openwrt] kernel/hwmon-sch5627: 6.12: fix missing dependency

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 30 07:28:10 PDT 2025


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/aa69e02002539d56d553b06c5394cabe5279e471

commit aa69e02002539d56d553b06c5394cabe5279e471
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Sun Apr 27 19:01:49 2025 +0200

    kernel/hwmon-sch5627: 6.12: fix missing dependency
    
    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 at yahoo.com>
    Link: https://github.com/openwrt/openwrt/pull/16547
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 package/kernel/linux/modules/hwmon.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index 1b85c3c7cd..3e19a36cb0 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -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




More information about the lede-commits mailing list