diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-01-05 13:02:49 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-01-05 13:02:49 +0000 |
commit | f3fbdbd1aa99c189cf1358bf4e0e039d3ba6b7c7 (patch) | |
tree | 5a28488aeebad9fa016a5e4d31f575ea5a7c5fe5 /package/kernel | |
parent | 805f9e574dcb85996f6406ea6295fd39247a3201 (diff) | |
download | master-187ad058-f3fbdbd1aa99c189cf1358bf4e0e039d3ba6b7c7.tar.gz master-187ad058-f3fbdbd1aa99c189cf1358bf4e0e039d3ba6b7c7.tar.bz2 master-187ad058-f3fbdbd1aa99c189cf1358bf4e0e039d3ba6b7c7.zip |
kernel/hwmon: package pwm-fan kernel module
pwm-fan was introduced in kernel 3.18
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43843 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel')
-rw-r--r-- | package/kernel/linux/modules/hwmon.mk | 16 |
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 |