From 8d83b9ee2dd4e22a1bf08d117c9b508ff5c66709 Mon Sep 17 00:00:00 2001 From: Weijie Gao Date: Sat, 6 Jan 2024 13:15:41 +0800 Subject: [PATCH] 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 --- 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 -- 2.30.2