diff options
author | Daniel Golle <daniel@makrotopia.org> | 2014-09-26 21:52:49 +0200 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2016-05-16 18:00:34 +0200 |
commit | 910d9ba454c40b6d7c229a0bd48462f1c86c5419 (patch) | |
tree | dbea818e618576a635e42773fe71d519ed2ed19d /package/kernel/linux | |
parent | 2aa818a0bb9cd3ab097132e963cfa4f11b5babee (diff) | |
download | mtk-20170518-910d9ba454c40b6d7c229a0bd48462f1c86c5419.zip mtk-20170518-910d9ba454c40b6d7c229a0bd48462f1c86c5419.tar.gz mtk-20170518-910d9ba454c40b6d7c229a0bd48462f1c86c5419.tar.bz2 |
modules: hwmon: package driver for LTC4151 current sensor
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Diffstat (limited to 'package/kernel/linux')
-rw-r--r-- | package/kernel/linux/modules/hwmon.mk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/package/kernel/linux/modules/hwmon.mk b/package/kernel/linux/modules/hwmon.mk index effae14..d918687 100644 --- a/package/kernel/linux/modules/hwmon.mk +++ b/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 |