From e8e568c7bf773cef94e5b74f7e5d534fae300ca4 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Wed, 9 May 2012 10:48:36 +0000 Subject: [PATCH] package/kernel: add package for the ADT7473/7475/7476/7490 sensors git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31657 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/kernel/modules/hwmon.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/package/kernel/modules/hwmon.mk b/package/kernel/modules/hwmon.mk index 94f21a67e4..d549336b3d 100644 --- a/package/kernel/modules/hwmon.mk +++ b/package/kernel/modules/hwmon.mk @@ -45,6 +45,21 @@ endef $(eval $(call KernelPackage,hwmon-vid)) +define KernelPackage/hwmon-adt7475 + TITLE:=ADT7473/7475/7476/7490 monitoring support + KCONFIG:=CONFIG_SENSORS_ADT7475 + FILES:=$(LINUX_DIR)/drivers/hwmon/adt7475.ko + AUTOLOAD:=$(call AutoLoad,60,adt7475) + $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) +endef + +define KernelPackage/hwmon-adt7475/description + Kernel module for ADT7473/7475/7476/7490 thermal monitor chip. +endef + +$(eval $(call KernelPackage,hwmon-adt7475)) + + define KernelPackage/hwmon-lm63 TITLE:=LM63/64 monitoring support KCONFIG:=CONFIG_SENSORS_LM63