From: Thomas Richard Date: Mon, 12 May 2025 12:17:43 +0000 (+0200) Subject: stm32: modules: add missing dependency for stm32-dfsdm-adc X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd57c070e94e43a4beda8d351fa66fbf4e431346;p=thirdparty%2Fopenwrt.git 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 Link: https://github.com/openwrt/openwrt/pull/18740 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/stm32/modules.mk b/target/linux/stm32/modules.mk index ac4b9adf600..30274e81c66 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))