Re: [OpenWrt-Devel] [PATCH] add LM95241 kernel module

2011-09-30 Thread Florian Fainelli
On Wednesday 10 August 2011 17:07:31 Daniel Golle wrote:
 This allows building the module for the national lm95241 i2c temperature
 sensor.
 
 Signed-off-by: Daniel Golle dgo...@allnet.de

Applied in r28335, thanks Daniel!
-- 
Florian
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


[OpenWrt-Devel] [PATCH] add LM95241 kernel module

2011-08-10 Thread Daniel Golle
This allows building the module for the national lm95241 i2c temperature sensor.

Signed-off-by: Daniel Golle dgo...@allnet.de

Index: package/kernel/modules/hwmon.mk
===
--- package/kernel/modules/hwmon.mk (revision 27890)
+++ package/kernel/modules/hwmon.mk (working copy)
@@ -89,7 +104,21 @@
 
 $(eval $(call KernelPackage,hwmon-lm90))
 
+define KernelPackage/hwmon-lm95241
+  TITLE:=LM95241 monitoring support
+  KCONFIG:=CONFIG_SENSORS_LM95241
+  FILES:=$(LINUX_DIR)/drivers/hwmon/lm95241.ko
+  AUTOLOAD:=$(call AutoLoad,60,lm95241)
+  $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
 
+define KernelPackage/hwmon-lm95241/description
+ Kernel module for LM95241 thermal monitor chip
+endef
+
+$(eval $(call KernelPackage,hwmon-lm95241))
+
+
 define KernelPackage/hwmon-pc87360
   TITLE:=PC87360 monitoring support
   KCONFIG:= \
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel