فهرست منبع

kernel: kmod-hwmon-tmp102: add dependency to kmod-thermal

Depend on the kmod-thermal package when it is activated, this fixes
compile problems on some targets.

Signed-off-by: Hauke Mehrtens <[email protected]>
Hauke Mehrtens 9 سال پیش
والد
کامیت
a6781ef4c1
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      package/kernel/linux/modules/hwmon.mk

+ 1 - 1
package/kernel/linux/modules/hwmon.mk

@@ -333,7 +333,7 @@ define KernelPackage/hwmon-tmp102
   KCONFIG:=CONFIG_SENSORS_TMP102
   FILES:=$(LINUX_DIR)/drivers/hwmon/tmp102.ko
   AUTOLOAD:=$(call AutoProbe,tmp102)
-  $(call AddDepends/hwmon,+kmod-i2c-core)
+  $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal)
 endef
 
 define KernelPackage/hwmon-tmp102/description