[openwrt/openwrt] kernel: modules: iio: adapt for kernel 6.6

LEDE Commits lede-commits at lists.infradead.org
Mon Mar 11 12:17:53 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/8d83b9ee2dd4e22a1bf08d117c9b508ff5c66709

commit 8d83b9ee2dd4e22a1bf08d117c9b508ff5c66709
Author: Weijie Gao <hackpascal at gmail.com>
AuthorDate: Sat Jan 6 13:15:41 2024 +0800

    kernel: modules: iio: adapt for kernel 6.6
    
    Adapt iio kmods for building under kernel 6.6:
    * kmod-iio-lsm6dsx depends on kmod-kmod-industrialio-triggered-buffer
    from 6.2
    
    Signed-off-by: Weijie Gao <hackpascal at gmail.com>
---
 package/kernel/linux/modules/iio.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/kernel/linux/modules/iio.mk b/package/kernel/linux/modules/iio.mk
index f901f87ddd..7cf0952db3 100644
--- a/package/kernel/linux/modules/iio.mk
+++ b/package/kernel/linux/modules/iio.mk
@@ -383,7 +383,7 @@ $(eval $(call KernelPackage,iio-st_accel-spi))
 
 
 define KernelPackage/iio-lsm6dsx
-  DEPENDS:=+kmod-iio-kfifo-buf +kmod-regmap-core
+  DEPENDS:=+kmod-iio-kfifo-buf +kmod-regmap-core +LINUX_6_6:kmod-industrialio-triggered-buffer
   TITLE:=ST LSM6DSx driver for IMU MEMS sensors
   KCONFIG:=CONFIG_IIO_ST_LSM6DSX
   FILES:=$(LINUX_DIR)/drivers/iio/imu/st_lsm6dsx/st_lsm6dsx.ko




More information about the lede-commits mailing list