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>
This commit is contained in:
Thomas Richard 2025-05-12 14:17:43 +02:00 committed by Hauke Mehrtens
parent 74011c5c1c
commit dd57c070e9

View file

@ -212,7 +212,11 @@ define KernelPackage/stm32-dfsdm-adc
FILES:=$(LINUX_DIR)/drivers/iio/adc/stm32-dfsdm-core.ko \ FILES:=$(LINUX_DIR)/drivers/iio/adc/stm32-dfsdm-core.ko \
$(LINUX_DIR)/drivers/iio/adc/stm32-dfsdm-adc.ko $(LINUX_DIR)/drivers/iio/adc/stm32-dfsdm-adc.ko
AUTOLOAD:=$(call AutoProbe,stm32-dfsdm-core stm32-dfsdm-adc) 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 endef
$(eval $(call KernelPackage,stm32-dfsdm-adc)) $(eval $(call KernelPackage,stm32-dfsdm-adc))