2
0
forked from Ivasoft/openwrt

kernel: add package kmod-iio-ads1015 and remove kmod-hwmon-ads1015

The hwmon driver for the ADC ADS1015 has been removed in Linux 5.4 in
favor of a driver in the iio system. For details see:
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=2c9d5b5e

This fixes: https://bugs.openwrt.org/index.php?do=details&task_id=4005

Run-tested: ramips/mt76x8 (Onion Omega 2+)

Signed-off-by: Christian Pointner <equinox@spreadspace.org>
This commit is contained in:
Christian Pointner
2021-09-05 04:37:14 +02:00
committed by Hauke Mehrtens
parent c50ece58c4
commit bd74bc9013
2 changed files with 15 additions and 14 deletions

View File

@@ -43,20 +43,6 @@ endef
$(eval $(call KernelPackage,hwmon-ad7418))
define KernelPackage/hwmon-ads1015
TITLE:=Texas Instruments ADS1015
KCONFIG:= CONFIG_SENSORS_ADS1015
FILES:= $(LINUX_DIR)/drivers/hwmon/ads1015.ko
AUTOLOAD:=$(call AutoLoad,60,ads1015)
$(call AddDepends/hwmon,+kmod-i2c-core)
endef
define KernelPackage/hwmon-ads1015/description
Kernel module for Texas Instruments ADS1015 Analog-to-Digital converter
endef
$(eval $(call KernelPackage,hwmon-ads1015))
define KernelPackage/hwmon-adt7410
TITLE:=ADT7410 monitoring support
KCONFIG:= \