From: Gabor Juhos Date: Wed, 9 May 2012 10:48:34 +0000 (+0000) Subject: package/kernel: add package for the LM85 sensor X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0f8e0335a7759ce0abf369ab0bc27b43e92b4b0e;p=openwrt%2Fstaging%2Fadrian.git package/kernel: add package for the LM85 sensor SVN-Revision: 31656 --- diff --git a/package/kernel/modules/hwmon.mk b/package/kernel/modules/hwmon.mk index 62eceb913f..94f21a67e4 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