From: Laurent Pinchart Date: Thu, 20 May 2021 15:24:17 +0000 (+0300) Subject: dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig X-Git-Tag: v5.10.47~77 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=524f70b30ef811ca82ebf36fd148bf2796454314;p=thirdparty%2Fkernel%2Fstable.git dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig [ Upstream commit 32828b82fb875b06511918b139d3a3cd93d34262 ] The driver depends on both OF and IOMEM support, express those dependencies in Kconfig. This fixes a build failure on S390 reported by the 0day bot. Reported-by: kernel test robot Signed-off-by: Laurent Pinchart Tested-by: Jianqiang Chen Reviewed-by: Jianqiang Chen Link: https://lore.kernel.org/r/20210520152420.23986-2-laurent.pinchart@ideasonboard.com Signed-off-by: Vinod Koul Signed-off-by: Sasha Levin --- diff --git a/drivers/dma/Kconfig b/drivers/dma/Kconfig index f2db761ee5488..f28bb2334e747 100644 --- a/drivers/dma/Kconfig +++ b/drivers/dma/Kconfig @@ -693,6 +693,7 @@ config XILINX_ZYNQMP_DMA config XILINX_ZYNQMP_DPDMA tristate "Xilinx DPDMA Engine" + depends on HAS_IOMEM && OF select DMA_ENGINE select DMA_VIRTUAL_CHANNELS help