[openwrt/openwrt] kernel: add missing kmod+regmap-i2c dependency for NCT7802Y module

LEDE Commits lede-commits at lists.infradead.org
Sat Jan 15 11:08:48 PST 2022


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/0a08d4faad5d2b4e7b681e87799d1f6032b524f1

commit 0a08d4faad5d2b4e7b681e87799d1f6032b524f1
Author: Christian Lamparter <chunkeey at gmail.com>
AuthorDate: Sat Jan 15 19:38:33 2022 +0100

    kernel: add missing kmod+regmap-i2c dependency for NCT7802Y module
    
    x86, mt7623 and others buildbot failed due to:
    |Package kmod-hwmon-nct7802 is missing dependencies for the following libraries:
    |regmap-core.ko
    |regmap-i2c.ko
    
    Fixes: 1ed50b92d157 ("package: kernel: add driver module for NCT7802Y")
    Signed-off-by: Christian Lamparter <chunkeey at gmail.com>
---
 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 01a510e571..943b87cd4c 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -353,7 +353,7 @@ define KernelPackage/hwmon-nct7802
   KCONFIG:=CONFIG_SENSORS_NCT7802
   FILES:=$(LINUX_DIR)/drivers/hwmon/nct7802.ko
   AUTOLOAD:=$(call AutoProbe,nct7802)
-  $(call AddDepends/hwmon,+kmod-i2c-core)
+  $(call AddDepends/hwmon,+kmod-regmap-i2c)
 endef
 
 define KernelPackage/hwmon-nct7802/description



More information about the lede-commits mailing list