]> git.baikalelectronics.ru Git - kernel.git/commitdiff
dmaengine: xilinx: dpdma: Add missing dependencies to Kconfig
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 20 May 2021 15:24:17 +0000 (18:24 +0300)
committerVinod Koul <vkoul@kernel.org>
Mon, 31 May 2021 04:07:17 +0000 (09:37 +0530)
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 <lkp@intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Tested-by: Jianqiang Chen <jianqiang.chen@xilinx.com>
Reviewed-by: Jianqiang Chen <jianqiang.chen@xilinx.com>
Link: https://lore.kernel.org/r/20210520152420.23986-2-laurent.pinchart@ideasonboard.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig

index 6ab9d9a488a6ed92ec1c84efd52e50558622285f..e47d4efbe7c5362fbc5e1d94ff33dc3c6bc5af7f 100644 (file)
@@ -701,6 +701,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