kernel/hwmon-lm92: 6.12: fix missing dependency
authorMieczyslaw Nalewaj <[email protected]>
Sun, 27 Apr 2025 17:01:02 +0000 (19:01 +0200)
committerChristian Marangi <[email protected]>
Wed, 30 Apr 2025 14:26:47 +0000 (16:26 +0200)
Add missing depends kmod-regmap-core.

Package kmod-hwmon-lm92 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=1359590a5c48d1d28cd11808178931f146a539e2

Signed-off-by: Mieczyslaw Nalewaj <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <[email protected]>
package/kernel/linux/modules/hwmon.mk

index 8c3bbe9327cdaa678d2c910b5dffbf2372db454f..1b85c3c7cdd7df3702ef94a433261b372a85dd30 100644 (file)
@@ -362,7 +362,7 @@ define KernelPackage/hwmon-lm92
   KCONFIG:=CONFIG_SENSORS_LM92
   FILES:=$(LINUX_DIR)/drivers/hwmon/lm92.ko
   AUTOLOAD:=$(call AutoProbe,lm92)
-  $(call AddDepends/hwmon,+kmod-i2c-core)
+  $(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_6_6:kmod-regmap-core)
 endef
 
 define KernelPackage/hwmon-lm92/description