summaryrefslogtreecommitdiffstats
path: root/drivers/dma/Kconfig
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2023-09-24 17:23:32 +0200
committerVinod Koul <vkoul@kernel.org>2023-09-28 16:19:23 +0530
commit65b87548041ad70a8e26af08c0dda0b5893baf6b (patch)
treef6f3d519ddd084bdb56a0ab4fefb1adead821310 /drivers/dma/Kconfig
parent88928addeec577386e8c83b48b5bc24d28ba97fd (diff)
downloadlinux-stable-65b87548041ad70a8e26af08c0dda0b5893baf6b.tar.gz
linux-stable-65b87548041ad70a8e26af08c0dda0b5893baf6b.tar.bz2
linux-stable-65b87548041ad70a8e26af08c0dda0b5893baf6b.zip
dmaengine: hisi: Simplify preconditions of CONFIG_K3_DMA
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>
Diffstat (limited to 'drivers/dma/Kconfig')
-rw-r--r--drivers/dma/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 4ccae1a3b884..70ba506dabab 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -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