From: Geert Uytterhoeven Date: Mon, 21 Nov 2022 15:23:53 +0000 (+0100) Subject: dmaengine: HISI_DMA should depend on ARCH_HISI X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0d6282dc2bd3247ca0bd5b83f294f1f58871edd6;p=linux.git dmaengine: HISI_DMA should depend on ARCH_HISI [ Upstream commit dcca9d045c0852584ad092123c7f6e6526a633b1 ] The HiSilicon DMA Engine is only present on HiSilicon SoCs. Hence add a dependency on ARCH_HISI, to prevent asking the user about this driver when configuring a kernel without HiSilicon SoC support. Fixes: e9f08b65250d73ab ("dmaengine: hisilicon: Add Kunpeng DMA engine support") Signed-off-by: Geert Uytterhoeven Link: https://lore.kernel.org/r/363a1816d36cd3cf604d88ec90f97c75f604de64.1669044190.git.geert+renesas@glider.be Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index 80c2c03cb0141..95344ae49e532 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -236,7 +236,7 @@ config FSL_RAID config HISI_DMA tristate "HiSilicon DMA Engine support" - depends on ARM64 || COMPILE_TEST + depends on ARCH_HISI || COMPILE_TEST depends on PCI_MSI select DMA_ENGINE select DMA_VIRTUAL_CHANNELS