mirror of
https://github.com/Heleguo/lede.git
synced 2025-12-18 11:51:19 +00:00
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>
This commit is contained in:
parent
1dd997c05e
commit
574f2a63f8
@ -406,7 +406,7 @@ define KernelPackage/hwmon-max6697
|
|||||||
KCONFIG:=CONFIG_SENSORS_MAX6697
|
KCONFIG:=CONFIG_SENSORS_MAX6697
|
||||||
FILES:=$(LINUX_DIR)/drivers/hwmon/max6697.ko
|
FILES:=$(LINUX_DIR)/drivers/hwmon/max6697.ko
|
||||||
AUTOLOAD:=$(call AutoProbe,max6697)
|
AUTOLOAD:=$(call AutoProbe,max6697)
|
||||||
$(call AddDepends/hwmon,+kmod-i2c-core)
|
$(call AddDepends/hwmon,+kmod-i2c-core +!LINUX_6_6:kmod-regmap-i2c)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/hwmon-max6697/description
|
define KernelPackage/hwmon-max6697/description
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user