From f734314484567c97f483a1971e39c3e6d78e4427 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Sun, 14 Sep 2014 12:06:38 +0000 Subject: [PATCH] kernel: make hwmon-lm75 only depend on kmod-thermal if needed This fixes commit r42529 and closes #17855. Signed-off-by: Hauke Mehrtens SVN-Revision: 42531 --- package/kernel/linux/modules/hwmon.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 90f2197aa9..ad0ef2dd4e 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -119,7 +119,7 @@ define KernelPackage/hwmon-lm75 KCONFIG:=CONFIG_SENSORS_LM75 FILES:=$(LINUX_DIR)/drivers/hwmon/lm75.ko AUTOLOAD:=$(call AutoProbe,lm75) - $(call AddDepends/hwmon,+kmod-i2c-core +kmod-thermal) + $(call AddDepends/hwmon,+kmod-i2c-core +PACKAGE_kmod-thermal:kmod-thermal) endef define KernelPackage/hwmon-lm75/description -- 2.30.2