[openwrt/openwrt] stm32: modules: add missing dependency for stm32-dfsdm-adc

LEDE Commits lede-commits at lists.infradead.org
Sat Jun 21 05:31:13 PDT 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/dd57c070e94e43a4beda8d351fa66fbf4e431346

commit dd57c070e94e43a4beda8d351fa66fbf4e431346
Author: Thomas Richard <thomas.richard at bootlin.com>
AuthorDate: Mon May 12 14:17:43 2025 +0200

    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 at bootlin.com>
    Link: https://github.com/openwrt/openwrt/pull/18740
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/stm32/modules.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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, at TARGET_stm32 +kmod-stm32-timer-trigger +kmod-industrialio-triggered-buffer +kmod-industrialio-hw-consumer)
+  $(call AddDepends/iio, at 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))




More information about the lede-commits mailing list