Parcourir la source

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 <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18740
Signed-off-by: Hauke Mehrtens <[email protected]>
Thomas Richard il y a 7 mois
Parent
commit
dd57c070e9
1 fichiers modifiés avec 5 ajouts et 1 suppressions
  1. 5 1
      target/linux/stm32/modules.mk

+ 5 - 1
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))