add kmod-hwmon-lm95241
authorFlorian Fainelli <florian@openwrt.org>
Fri, 30 Sep 2011 12:55:30 +0000 (12:55 +0000)
committerFlorian Fainelli <florian@openwrt.org>
Fri, 30 Sep 2011 12:55:30 +0000 (12:55 +0000)
This allows building the module for the national lm95241 i2c temperature sensor.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 28335

package/kernel/modules/hwmon.mk

index ebbe7cfabcabf6e98594351240338e5471c7c591..57dd5684cbc44d30247bbee42641a92ef0ef2f2a 100644 (file)
@@ -89,6 +89,20 @@ endef
 
 $(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