summaryrefslogtreecommitdiff
path: root/package/kernel/modules/hwmon.mk
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2012-05-09 10:48:34 +0000
committerGabor Juhos <juhosg@openwrt.org>2012-05-09 10:48:34 +0000
commit0f8e0335a7759ce0abf369ab0bc27b43e92b4b0e (patch)
tree5b868f9b6444811184453e9bed94c0ef01be0504 /package/kernel/modules/hwmon.mk
parentc403828c57283c213d8e635710d990826e32f429 (diff)
downloadmtk-20170518-0f8e0335a7759ce0abf369ab0bc27b43e92b4b0e.zip
mtk-20170518-0f8e0335a7759ce0abf369ab0bc27b43e92b4b0e.tar.gz
mtk-20170518-0f8e0335a7759ce0abf369ab0bc27b43e92b4b0e.tar.bz2
package/kernel: add package for the LM85 sensor
SVN-Revision: 31656
Diffstat (limited to 'package/kernel/modules/hwmon.mk')
-rw-r--r--package/kernel/modules/hwmon.mk15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/kernel/modules/hwmon.mk b/package/kernel/modules/hwmon.mk
index 62eceb9..94f21a6 100644
--- a/package/kernel/modules/hwmon.mk
+++ b/package/kernel/modules/hwmon.mk
@@ -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