dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sun, 24 Sep 2023 15:23:32 +0000 (17:23 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 28 Sep 2023 10:49:23 +0000 (16:19 +0530)
Commit e39a2329cfb09 ("Kconfig: Allow k3dma driver to be selected for
more then HISI3xx platforms") expanded the "depends on" line of K3_DMA
from "ARCH_HI3xxx" to "ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST".
However, ARCH_HI3xxx implies ARCH_HISI, so it's unnecessary to list
both.

Instead, just list ARCH_HISI, which covers all HiSilicon platforms.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20230924152332.2254305-1-j.neuschaefer@gmx.net
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig

index 4ccae1a3b8842787fd144a79eede2396b00a7b83..70ba506dabab5f7aa9eb95741bd40636d1535c86 100644 (file)
@@ -362,7 +362,7 @@ config INTEL_IOATDMA
 
 config K3_DMA
        tristate "Hisilicon K3 DMA support"
-       depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST
+       depends on ARCH_HISI || COMPILE_TEST
        select DMA_ENGINE
        select DMA_VIRTUAL_CHANNELS
        help