summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Richard2025-05-12 12:17:43 +0000
committerHauke Mehrtens2025-06-21 12:28:42 +0000
commitdd57c070e94e43a4beda8d351fa66fbf4e431346 (patch)
treec656eb4cd5168ef2915f4035d6d18e60d061713d
parent74011c5c1cbd47b98f02c14c04182b88ed603b6d (diff)
downloadopenwrt-dd57c070e94e43a4beda8d351fa66fbf4e431346.tar.gz
stm32: modules: add missing dependency for stm32-dfsdm-adc
Now on Linux 6.12, stm32-dfsdm-adc also depends on kmod-industrialio-backend. Signed-off-by: Thomas Richard <thomas.richard@bootlin.com> Link: https://github.com/openwrt/openwrt/pull/18740 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rw-r--r--target/linux/stm32/modules.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/stm32/modules.mk b/target/linux/stm32/modules.mk
index ac4b9adf60..30274e81c6 100644
--- a/target/linux/stm32/modules.mk
+++ b/target/linux/stm32/modules.mk
@@ -212,7 +212,11 @@ define KernelPackage/stm32-dfsdm-adc
FILES:=$(LINUX_DIR)/drivers/iio/adc/stm32-dfsdm-core.ko \
$(LINUX_DIR)/drivers/iio/adc/stm32-dfsdm-adc.ko
AUTOLOAD:=$(call AutoProbe,stm32-dfsdm-core stm32-dfsdm-adc)
- $(call AddDepends/iio,@TARGET_stm32 +kmod-stm32-timer-trigger +kmod-industrialio-triggered-buffer +kmod-industrialio-hw-consumer)
+ $(call AddDepends/iio,@TARGET_stm32 \
+ +kmod-stm32-timer-trigger \
+ +kmod-industrialio-triggered-buffer \
+ +kmod-industrialio-hw-consumer \
+ +!LINUX_6_6:kmod-industrialio-backend)
endef
$(eval $(call KernelPackage,stm32-dfsdm-adc))