From: Hauke Mehrtens Date: Sat, 13 Aug 2022 19:44:24 +0000 (+0200) Subject: kernel: kmod-hwmon-tps23861: Add missing dependency to kmod-regmap-i2c X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=139a5c2eec3750ebd7b3ef490ab24a5b1de1ce8a;p=openwrt%2Fstaging%2Fnbd.git 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 --- 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