modules: hwmon: package driver for INA209 power monitor
authorDaniel Golle <daniel@makrotopia.org>
Sun, 1 Nov 2015 14:37:42 +0000 (15:37 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 16 May 2016 16:00:34 +0000 (18:00 +0200)
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/kernel/linux/modules/hwmon.mk

index d9186879cefbe00bca55691a8be56a73b7907cc3..69aaacd92f69e23055f776a02add5bb01d39c449 100644 (file)
@@ -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