X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/ba41f912a98d80538f9f8ceff8a39b663f9e0819..74d78766e81f8608556c0ca22a3804f4b5fd1a87:/package/kernel/modules/hwmon.mk diff --git a/package/kernel/modules/hwmon.mk b/package/kernel/modules/hwmon.mk index 57dd5684c..61b5b3d60 100644 --- a/package/kernel/modules/hwmon.mk +++ b/package/kernel/modules/hwmon.mk @@ -103,6 +103,19 @@ endef $(eval $(call KernelPackage,hwmon-lm95241)) +define KernelPackage/hwmon-sht21 + TITLE:=Sensiron SHT21 and compat. monitoring support + KCONFIG:=CONFIG_SENSORS_SHT21 + FILES:=$(LINUX_DIR)/drivers/hwmon/sht21.ko + AUTOLOAD:=$(call AutoLoad,60,sht21) + $(call AddDepends/hwmon,+kmod-i2c-core) +endef + +define KernelPackage/hwmon-sht21/description + Kernel module for Sensirion SHT21 and SHT25 temperature and humidity sensors chip +endef + +$(eval $(call KernelPackage,hwmon-sht21)) define KernelPackage/hwmon-pc87360 TITLE:=PC87360 monitoring support