From: Hauke Mehrtens Date: Sun, 13 Jan 2019 12:12:51 +0000 (+0100) Subject: kernel/modules: Fix build of kmod-pmbus X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c7102a76992d9021aa6abab7b7c0e7758f765668;p=openwrt%2Fstaging%2Fjow.git kernel/modules: Fix build of kmod-pmbus This fixes two build problems introduced with the recently added new kernel module package. Fixes: ed2839ac4190 ("kernel/modules: add kmod-pmbus-zl6100 module") Signed-off-by: Hauke Mehrtens --- diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 48e529ca8d..89a425b10c 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -291,7 +291,7 @@ define KernelPackage/pmbus-core TITLE:=PMBus support KCONFIG:= CONFIG_PMBUS FILES:=$(LINUX_DIR)/drivers/hwmon/pmbus/pmbus_core.ko - $(call AddDepends/hwmon) + $(call AddDepends/hwmon,+kmod-i2c-core) endef define KernelPackage/pmbus-core/description diff --git a/target/linux/generic/config-4.9 b/target/linux/generic/config-4.9 index 110d96899d..9300e06afd 100644 --- a/target/linux/generic/config-4.9 +++ b/target/linux/generic/config-4.9 @@ -3847,7 +3847,7 @@ CONFIG_SELECT_MEMORY_MODEL=y # CONFIG_SENSORS_LIS3LV02D is not set # CONFIG_SENSORS_LIS3_I2C is not set # CONFIG_SENSORS_LIS3_SPI is not set -# CONFIG_SENSORS_LM25066 is not se +# CONFIG_SENSORS_LM25066 is not set # CONFIG_SENSORS_LM63 is not set # CONFIG_SENSORS_LM70 is not set # CONFIG_SENSORS_LM73 is not set