From: Daniel Golle Date: Sun, 1 Nov 2015 14:37:42 +0000 (+0100) Subject: modules: hwmon: package driver for INA209 power monitor X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=449aba4fe849ce51c54c32689546e8d99da7f756;p=openwrt%2Fstaging%2Flynxis%2Fomap.git modules: hwmon: package driver for INA209 power monitor Signed-off-by: Daniel Golle --- diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index d9186879ce..69aaacd92f 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/package/kernel/linux/modules/hwmon.mk @@ -78,6 +78,21 @@ endef $(eval $(call KernelPackage,hwmon-adt7475)) +define KernelPackage/hwmon-ina209 + TITLE:=INA209 monitoring support + KCONFIG:=CONFIG_SENSORS_INA209 + FILES:=$(LINUX_DIR)/drivers/hwmon/ina209.ko + AUTOLOAD:=$(call AutoProbe,ina209) + $(call AddDepends/hwmon,+kmod-i2c-core) +endef + +define KernelPackage/hwmon-ina209/description + Kernel module for ina209 dc power monitor chips +endef + +$(eval $(call KernelPackage,hwmon-ina209)) + + define KernelPackage/hwmon-ina2xx TITLE:=INA2XX monitoring support KCONFIG:=CONFIG_SENSORS_INA2XX