summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-12-23 11:43:18 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-12-23 11:43:18 +0000
commit3fca139a2b2db6ec9d110f10ff6fffab8091a505 (patch)
tree783b01b58c8a1359348e7e1a129c64246b7ebaa3
parent10afb1bd8c3af30b88fa1c09dde91b1e8a8cf27c (diff)
downloadmtk-20170518-3fca139a2b2db6ec9d110f10ff6fffab8091a505.zip
mtk-20170518-3fca139a2b2db6ec9d110f10ff6fffab8091a505.tar.gz
mtk-20170518-3fca139a2b2db6ec9d110f10ff6fffab8091a505.tar.bz2
kernel: make kmod-thermal dependency conditional to match upstream kernel module configuration dependency for hwmon-pwmfan
Signed-off-by: Sebastian Careba <nitroshift@yahoo.com> SVN-Revision: 47968
-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 e09efa1..93d7a77 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -289,7 +289,7 @@ define KernelPackage/hwmon-pwmfan
KCONFIG:=CONFIG_SENSORS_PWM_FAN
FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
- $(call AddDepends/hwmon,)
+ $(call AddDepends/hwmon, +PACKAGE_kmod-thermal:kmod-thermal)
endef
define KernelPackage/hwmon-pwmfan/description