diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2016-12-14 00:15:33 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2016-12-14 00:15:33 +0100 |
commit | a6781ef4c12a95fb29394a8b7f6f7906e5f0d6e3 (patch) | |
tree | ed235debfd4e7a8ec035e1e7717f4be5755bbae3 /package/kernel/linux/modules/hwmon.mk | |
parent | a7c2310278c3554e78f26f6f84803669d9573dc6 (diff) | |
download | upstream-a6781ef4c12a95fb29394a8b7f6f7906e5f0d6e3.tar.gz upstream-a6781ef4c12a95fb29394a8b7f6f7906e5f0d6e3.tar.bz2 upstream-a6781ef4c12a95fb29394a8b7f6f7906e5f0d6e3.zip |
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 <hauke@hauke-m.de>
Diffstat (limited to 'package/kernel/linux/modules/hwmon.mk')
-rw-r--r-- | package/kernel/linux/modules/hwmon.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index a6e5b22507..0c52f03d0b 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/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 |