aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/linux
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2016-12-14 00:15:33 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2016-12-14 00:15:33 +0100
commita6781ef4c12a95fb29394a8b7f6f7906e5f0d6e3 (patch)
treeed235debfd4e7a8ec035e1e7717f4be5755bbae3 /package/kernel/linux
parenta7c2310278c3554e78f26f6f84803669d9573dc6 (diff)
downloadupstream-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')
-rw-r--r--package/kernel/linux/modules/hwmon.mk2
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