Author: kaloz
Date: 2014-06-20 22:42:47 +0200 (Fri, 20 Jun 2014)
New Revision: 41289

Modified:
   trunk/package/kernel/linux/modules/hwmon.mk
Log:
[kernel]: package the gpio-fan module

Signed-off-by: Imre Kaloz <[email protected]>



Modified: trunk/package/kernel/linux/modules/hwmon.mk
===================================================================
--- trunk/package/kernel/linux/modules/hwmon.mk 2014-06-20 19:13:01 UTC (rev 
41288)
+++ trunk/package/kernel/linux/modules/hwmon.mk 2014-06-20 20:42:47 UTC (rev 
41289)
@@ -259,6 +259,7 @@
 
 $(eval $(call KernelPackage,hwmon-gsc))
 
+
 define KernelPackage/hwmon-tmp421
   TITLE:=TI TMP421 and compatible monitoring support
   KCONFIG:=CONFIG_SENSORS_TMP421
@@ -272,3 +273,18 @@
 endef
 
 $(eval $(call KernelPackage,hwmon-tmp421))
+
+
+define KernelPackage/hwmon-gpiofan
+  TITLE:=Generic GPIO FAN support
+  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)
+endef
+
+define KernelPacakge/hwmon-gpiofan/description
+  Kernel module for GPIO controlled FANs
+endef
+
+$(eval $(call KernelPackage,hwmon-gpiofan))
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to