This allows the k3dma driver to be selected on HiKey via the ARCH_HISI
dependency.

Cc: Zhangfei Gao <[email protected]>
Cc: Krzysztof Kozlowski <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Vinod Koul <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Mark Brown <[email protected]>
Cc: Andy Green <[email protected]>
Acked-by: Zhangfei Gao <[email protected]>
Signed-off-by: John Stultz <[email protected]>
---
v2:
* Use ARCH_HISI and COMPILE_TEST dependency, suggested by Mark Brown,
  instead of just removing all dependencies.
---
 drivers/dma/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig
index 739f797..fe2dbb8 100644
--- a/drivers/dma/Kconfig
+++ b/drivers/dma/Kconfig
@@ -279,7 +279,7 @@ config INTEL_MIC_X100_DMA
 
 config K3_DMA
        tristate "Hisilicon K3 DMA support"
-       depends on ARCH_HI3xxx
+       depends on ARCH_HI3xxx || ARCH_HISI || COMPILE_TEST
        select DMA_ENGINE
        select DMA_VIRTUAL_CHANNELS
        help
-- 
1.9.1

Reply via email to