From 854c77bcea2ed4ebf3faebcc45acf9a82b0f72d8 Mon Sep 17 00:00:00 2001
From: Felix Fietkau <nbd@openwrt.org>
Date: Tue, 22 Dec 2015 16:58:45 +0000
Subject: [PATCH] kernel: make kmod-gpiofan depend on kmod-thermal to fix build
 errors

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 47960
---
 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 ca0ff66172..ad1c7bf91d 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -274,7 +274,7 @@ define KernelPackage/hwmon-gpiofan
   KCONFIG:=CONFIG_SENSORS_GPIO_FAN
   FILES:=$(LINUX_DIR)/drivers/hwmon/gpio-fan.ko
   AUTOLOAD:=$(call AutoLoad,60,gpio-fan)
-  $(call AddDepends/hwmon,+kmod-i2c-core)
+  $(call AddDepends/hwmon,+kmod-i2c-core +kmod-thermal)
 endef
 
 define KernelPackage/hwmon-gpiofan/description
-- 
GitLab