aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-01-05 13:02:49 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-01-05 13:02:49 +0000
commitaec6b37a48f5c89bdb3405dcc3cf044792c788c5 (patch)
tree8e807ba2d14539002e1dc6c2fea7bda71d532ee8
parent7cc5b6f9e9ef3414b282d87a51095a834a39969b (diff)
downloadupstream-aec6b37a48f5c89bdb3405dcc3cf044792c788c5.tar.gz
upstream-aec6b37a48f5c89bdb3405dcc3cf044792c788c5.tar.bz2
upstream-aec6b37a48f5c89bdb3405dcc3cf044792c788c5.zip
kernel/hwmon: package pwm-fan kernel module
pwm-fan was introduced in kernel 3.18 Signed-off-by: Daniel Golle <daniel@makrotopia.org> SVN-Revision: 43843
-rw-r--r--package/kernel/linux/modules/hwmon.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index 5b7936a9f0..74af38b49a 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -290,6 +290,22 @@ endef
$(eval $(call KernelPackage,hwmon-gpiofan))
+define KernelPackage/hwmon-pwmfan
+ TITLE:=Generic PWM FAN support
+ KCONFIG:=CONFIG_SENSORS_PWM_FAN
+ FILES:=$(LINUX_DIR)/drivers/hwmon/pwm-fan.ko
+ AUTOLOAD:=$(call AutoLoad,60,pwm-fan)
+ $(call AddDepends/hwmon,+kmod-pwm)
+ DEPENDS+=@!LINUX_3_3 @!LINUX_3_8 @!LINUX_3_10 @!LINUX_3_14
+endef
+
+define KernelPackage/hwmon-pwmfan/description
+ Kernel module for PWM controlled FANs
+endef
+
+$(eval $(call KernelPackage,hwmon-pwmfan))
+
+
define KernelPackage/hwmon-k10temp
TITLE:=AMD Family 10h+ temperature sensor
KCONFIG:=CONFIG_SENSORS_K10TEMP