kernel/modules: Fix build of kmod-pmbus

This fixes two build problems introduced with the recently added new
kernel module package.

Fixes: ed2839ac41 ("kernel/modules: add kmod-pmbus-zl6100 module")
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
master
Hauke Mehrtens 6 years ago
parent bd03255ec4
commit c7102a7699
  1. 2
      package/kernel/linux/modules/hwmon.mk
  2. 2
      target/linux/generic/config-4.9

@ -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

@ -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

Loading…
Cancel
Save