From: Lars-Peter Clausen Date: Mon, 4 Oct 2010 09:17:42 +0000 (+0000) Subject: kernel: Add hwmon-lm63 package X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=67ab1350bd3df630fa071de942aa390a80561e57;p=openwrt%2Fstaging%2F981213.git kernel: Add hwmon-lm63 package Signed-off-by: Wojciech Dubowik SVN-Revision: 23216 --- diff --git a/package/kernel/modules/hwmon.mk b/package/kernel/modules/hwmon.mk index b4390f78b2..ebbe7cfabc 100644 --- a/package/kernel/modules/hwmon.mk +++ b/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