summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMieczyslaw Nalewaj2025-04-27 16:33:55 +0000
committerChristian Marangi2025-04-30 14:26:38 +0000
commit8c9e6244217699efefd41cbf10b903e4eb144c23 (patch)
tree0aa81208d62909e10926fe00738ee0c5ee1bf68b
parentbb94b90fc0e6a1e254b9025fe62a153b905e47dc (diff)
downloadopenwrt-8c9e6244217699efefd41cbf10b903e4eb144c23.tar.gz
kernel/hwmon-max6697: 6.12: fix missing dependency
Add missing depends kmod-regmap-i2c. ERROR: modpost: "__regmap_init_i2c" [drivers/hwmon/max6697.ko] undefined! Ref: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.12.y&id=3a2a8cc3fe24ec48a3d222f5b9db68a3404ffab3 Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/16547 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--package/kernel/linux/modules/hwmon.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index ae9b35114b..9d794d69f2 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -421,7 +421,7 @@ define KernelPackage/hwmon-max6697
KCONFIG:=CONFIG_SENSORS_MAX6697
FILES:=$(LINUX_DIR)/drivers/hwmon/max6697.ko
AUTOLOAD:=$(call AutoProbe,max6697)
- $(call AddDepends/hwmon,+kmod-i2c-core)
+ $(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_6_6:kmod-regmap-i2c)
endef
define KernelPackage/hwmon-max6697/description