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://207.154.207.93/?a=commitdiff_plain;h=738d6011173afcffe795fb7fb4fdec3cc067963f;p=15.05%2Fopenwrt.git package/kernel: add package for the LM85 sensor git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31656 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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