package/kernel: add package for the LM85 sensor
authorGabor Juhos <juhosg@openwrt.org>
Wed, 9 May 2012 10:48:34 +0000 (10:48 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Wed, 9 May 2012 10:48:34 +0000 (10:48 +0000)
SVN-Revision: 31656

package/kernel/modules/hwmon.mk

index 62eceb913fffa25976abd04092228ba302b6e759..94f21a67e402634d5a4f87d17175e9a147b6422d 100644 (file)
@@ -90,6 +90,21 @@ endef
 $(eval $(call KernelPackage,hwmon-lm77))
 
 
+define KernelPackage/hwmon-lm85
+  TITLE:=LM85 monitoring support
+  KCONFIG:=CONFIG_SENSORS_LM85
+  FILES:=$(LINUX_DIR)/drivers/hwmon/lm85.ko
+  AUTOLOAD:=$(call AutoLoad,60,lm85)
+  $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid)
+endef
+
+define KernelPackage/hwmon-lm85/description
+ Kernel module for LM85 thermal monitor chip
+endef
+
+$(eval $(call KernelPackage,hwmon-lm85))
+
+
 define KernelPackage/hwmon-lm90
   TITLE:=LM90 monitoring support
   KCONFIG:=CONFIG_SENSORS_LM90