فهرست منبع

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 <[email protected]>
Hauke Mehrtens 7 سال پیش
والد
کامیت
c7102a7699
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      package/kernel/linux/modules/hwmon.mk
  2. 1 1
      target/linux/generic/config-4.9

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

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