Procházet zdrojové kódy

modules: hwmon: package driver for LTC4151 current sensor

Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle před 11 roky
rodič
revize
910d9ba454
1 změnil soubory, kde provedl 14 přidání a 0 odebrání
  1. 14 0
      package/kernel/linux/modules/hwmon.mk

+ 14 - 0
package/kernel/linux/modules/hwmon.mk

@@ -195,6 +195,20 @@ endef
 
 $(eval $(call KernelPackage,hwmon-lm95241))
 
+define KernelPackage/hwmon-ltc4151
+  TITLE:=LTC4151 monitoring support
+  KCONFIG:=CONFIG_SENSORS_LTC4151
+  FILES:=$(LINUX_DIR)/drivers/hwmon/ltc4151.ko
+  AUTOLOAD:=$(call AutoProbe,ltc4151)
+  $(call AddDepends/hwmon,+kmod-i2c-core)
+endef
+
+define KernelPackage/hwmon-ltc4151/description
+ Kernel module for Linear Technology LTC4151 current and voltage monitor chip
+endef
+
+$(eval $(call KernelPackage,hwmon-ltc4151))
+
 define KernelPackage/hwmon-sht21
   TITLE:=Sensiron SHT21 and compat. monitoring support
   KCONFIG:=CONFIG_SENSORS_SHT21