projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb94b90
)
kernel/hwmon-max6697: 6.12: fix missing dependency
author
Mieczyslaw Nalewaj
<
[email protected]
>
Sun, 27 Apr 2025 16:33:55 +0000
(18:33 +0200)
committer
Christian Marangi
<
[email protected]
>
Wed, 30 Apr 2025 14:26:38 +0000
(16:26 +0200)
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 <
[email protected]
>
Link:
https://github.com/openwrt/openwrt/pull/16547
Signed-off-by: Christian Marangi <
[email protected]
>
package/kernel/linux/modules/hwmon.mk
patch
|
blob
|
history
diff --git
a/package/kernel/linux/modules/hwmon.mk
b/package/kernel/linux/modules/hwmon.mk
index ae9b35114b14eedd4c6282561db80d05562c98ee..9d794d69f2974404ec4a775849106eb1bfa6e51a 100644
(file)
--- 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