From 62905b0d193082fc2b0cbbfb393c82c8193cb819 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Sun, 11 Dec 2016 11:11:57 -0800 Subject: [PATCH] kernel: Add kernel module package for LM70 temperature sensors Package the LM70 hwmon driver which supports a large number of LM70 compatible temperature sensors. Signed-off-by: Florian Fainelli --- package/kernel/linux/modules/hwmon.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 79c81846c6..1f00817904 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -152,6 +152,21 @@ endef $(eval $(call KernelPackage,hwmon-lm63)) +define KernelPackage/hwmon-lm70 + TITLE:=LM70 monitoring support + KCONFIG:=CONFIG_SENSORS_LM70 + FILES:=$(LINUX_DIR)/drivers/hwmon/lm70.ko + AUTOLOAD:=$(call AutoProbe,lm70) + $(call AddDepends/hwmon,) +endef + +define KernelPackage/hwmon-lm70/description + Kernel module for lm70 thermal monitor chip +endef + +$(eval $(call KernelPackage,hwmon-lm70)) + + define KernelPackage/hwmon-lm75 TITLE:=LM75 monitoring support KCONFIG:=CONFIG_SENSORS_LM75 -- 2.30.2