]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dmaengine: st_fdma: add COMPILE_TEST support
authorRosen Penev <rosenp@gmail.com>
Thu, 6 Nov 2025 02:20:15 +0000 (18:20 -0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 23 Dec 2025 11:05:27 +0000 (16:35 +0530)
Add COMPILE_TEST as an option to allow test building the driver.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://patch.msgid.link/20251106022015.84970-3-rosenp@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig

index 8bb0a119ecd48a6695404d43fce225987c9c69ff..66cda7cc9f7ab92e198d80cc5f0fb6420b937088 100644 (file)
@@ -590,7 +590,7 @@ config STE_DMA40
 
 config ST_FDMA
        tristate "ST FDMA dmaengine support"
-       depends on ARCH_STI
+       depends on ARCH_STI || COMPILE_TEST
        depends on REMOTEPROC
        select ST_SLIM_REMOTEPROC
        select DMA_ENGINE