瀏覽代碼

kernel: Add hwmon-lm63 package

Signed-off-by: Wojciech Dubowik <[email protected]>

SVN-Revision: 23216
Lars-Peter Clausen 15 年之前
父節點
當前提交
67ab1350bd
共有 1 個文件被更改,包括 14 次插入0 次删除
  1. 14 0
      package/kernel/modules/hwmon.mk

+ 14 - 0
package/kernel/modules/hwmon.mk

@@ -30,6 +30,20 @@ define AddDepends/hwmon
   DEPENDS:=kmod-hwmon-core $(1)
 endef
 
+define KernelPackage/hwmon-lm63
+  TITLE:=LM63/64 monitoring support
+  KCONFIG:=CONFIG_SENSORS_LM63
+  FILES:=$(LINUX_DIR)/drivers/hwmon/lm63.ko
+  AUTOLOAD:=$(call AutoLoad,60,lm63)
+  $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
+
+define KernelPackage/hwmon-lm63/description
+ Kernel module for lm63 and lm64 thermal monitor chip
+endef
+
+$(eval $(call KernelPackage,hwmon-lm63))
+
 
 define KernelPackage/hwmon-lm75
   TITLE:=LM75 monitoring support