dmaengine: ARM_DMA350 should depend on ARM/ARM64
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 22 Apr 2025 18:11:19 +0000 (20:11 +0200)
committerVinod Koul <vkoul@kernel.org>
Wed, 23 Apr 2025 13:12:46 +0000 (18:42 +0530)
The Arm DMA-350 controller is only present on Arm-based SoCs.  Hence add
dependencies on ARM and ARM64, to prevent asking the user about this
driver when configuring a kernel for a non-Arm architecture.

Fixes: 5d099706449d54b4 ("dmaengine: Add Arm DMA-350 driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/50dbaf4ce962fa7ed0208150ca987e3083da39ec.1745345400.git.geert+renesas@glider.be
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig

index 8109f73baf10fc3bbfe3dbf914b99a7337132ad0..db87dd2a07f7606e40dc26ea41d26fcdd1fad979 100644 (file)
@@ -95,6 +95,7 @@ config APPLE_ADMAC
 
 config ARM_DMA350
        tristate "Arm DMA-350 support"
+       depends on ARM || ARM64 || COMPILE_TEST
        select DMA_ENGINE
        select DMA_VIRTUAL_CHANNELS
        help