From: Lucian Cristian Date: Thu, 2 Apr 2020 11:17:00 +0000 (+0300) Subject: kernel: hwmon: add dme1737 driver X-Git-Tag: v21.02.0-rc1~3096 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8f342a39de09f53f8686bf87e40916e9b3270b88;p=openwrt%2Fstaging%2Fchunkeey.git kernel: hwmon: add dme1737 driver SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support Signed-off-by: Lucian Cristian --- diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index 2552a32a56..159c0eac9a 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -77,6 +77,22 @@ endef $(eval $(call KernelPackage,hwmon-adt7475)) +define KernelPackage/hwmon-dme1737 + TITLE:=SMSC DME1737 and compatible monitoring support + KCONFIG:=CONFIG_SENSORS_DME1737 + FILES:= \ + $(LINUX_DIR)/drivers/hwmon/dme1737.ko + AUTOLOAD:=$(call AutoProbe,dme1737) + $(call AddDepends/hwmon,+kmod-i2c-core +kmod-hwmon-vid) +endef + +define KernelPackage/hwmon-dme1737/description + SMSC DME1737, SCH3112, SCH3114, SCH3116, SCH5027 monitoring support +endef + +$(eval $(call KernelPackage,hwmon-dme1737)) + + define KernelPackage/hwmon-drivetemp TITLE:=Hard disk drives with temperature sensor KCONFIG:=CONFIG_SENSORS_DRIVETEMP