[openwrt/openwrt] kernel: kmod-hwmon-tps23861: Add missing dependency to kmod-regmap-i2c

LEDE Commits lede-commits at lists.infradead.org
Sat Aug 13 12:46:35 PDT 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/139a5c2eec3750ebd7b3ef490ab24a5b1de1ce8a

commit 139a5c2eec3750ebd7b3ef490ab24a5b1de1ce8a
Author: Hauke Mehrtens <hauke at hauke-m.de>
AuthorDate: Sat Aug 13 21:44:24 2022 +0200

    kernel: kmod-hwmon-tps23861: Add missing dependency to kmod-regmap-i2c
    
    This fixes the following build error:
    Package kmod-hwmon-tps23861 is missing dependencies for the following libraries:
    regmap-i2c.ko
    
    Fixes: b664646db74a ("kernel: add kmod-hwmon-tps23861 support")
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 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 42df3a94f7..e0810c97bd 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -524,7 +524,7 @@ define KernelPackage/hwmon-tps23861
   KCONFIG:=CONFIG_SENSORS_TPS23861
   FILES:=$(LINUX_DIR)/drivers/hwmon/tps23861.ko
   AUTOLOAD:=$(call AutoProbe,tps23861)
-  $(call AddDepends/hwmon,+kmod-i2c-core)
+  $(call AddDepends/hwmon,+kmod-i2c-core +kmod-regmap-i2c)
 endef
 
 define KernelPackage/hwmon-tps23861/description




More information about the lede-commits mailing list