Commit 65b87548 authored by Jonathan Neuschäfer's avatar Jonathan Neuschäfer Committed by Vinod Koul

dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA

Commit e39a2329 ("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: default avatarJonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20230924152332.2254305-1-j.neuschaefer@gmx.netSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 88928add
...@@ -362,7 +362,7 @@ config INTEL_IOATDMA ...@@ -362,7 +362,7 @@ config INTEL_IOATDMA
config K3_DMA config K3_DMA
tristate "Hisilicon K3 DMA support" tristate "Hisilicon K3 DMA support"
depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST depends on ARCH_HISI || COMPILE_TEST
select DMA_ENGINE select DMA_ENGINE
select DMA_VIRTUAL_CHANNELS select DMA_VIRTUAL_CHANNELS
help help
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment