kernel: kmod-hwmon-tps23861: Add missing dependency to kmod-regmap-i2c
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 13 Aug 2022 19:44:24 +0000 (21:44 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 13 Aug 2022 19:45:47 +0000 (21:45 +0200)
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@hauke-m.de>
package/kernel/linux/modules/hwmon.mk

index 42df3a94f76622a99699f5632afb0890b6629ac2..e0810c97bdcff28f43ea801acae4011b47acf20d 100644 (file)
@@ -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