Browse Source

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 <[email protected]>
Hauke Mehrtens 3 years ago
parent
commit
139a5c2eec
1 changed files with 1 additions and 1 deletions
  1. 1 1
      package/kernel/linux/modules/hwmon.mk

+ 1 - 1
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