[OpenWrt-Devel] [PATCH] package/kernel: Build it87 hardware monitor module

openwrt at daniel.thecshore.com openwrt at daniel.thecshore.com
Wed Dec 16 14:51:00 EST 2015

From: Daniel Dickinson <openwrt at daniel.thecshore.com>

This is easy to add with no side effects; the chip probably just got added after
the hwmon package was created and never got included in builds.

Signed-off-by: Daniel Dickinson <openwrt at daniel.thecshore.com>
 package/kernel/linux/modules/hwmon.mk | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk
index ca0ff66..f260e27 100644
--- a/package/kernel/linux/modules/hwmon.mk
+++ b/package/kernel/linux/modules/hwmon.mk
@@ -93,6 +93,20 @@ endef
 $(eval $(call KernelPackage,hwmon-ina2xx))
+define KernelPackage/hwmon-it87
+  TITLE:=it87 monitoring support
+  FILES:=$(LINUX_DIR)/drivers/hwmon/it87.ko
+  AUTOLOAD:=$(call AutoProbe,it87)
+  $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmod-vid)
+define KernelPackage/hwmon-i687/description
+ Kernel module for it87 thermal and voltage monitor chip
+$(eval $(call KernelPackage,hwmon-it87))
 define KernelPackage/hwmon-lm63
   TITLE:=LM63/64 monitoring support
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list