From: Robin Murphy Date: Mon, 29 Feb 2016 11:13:39 +0000 (+0000) Subject: iommu/dma: Fix NEED_SG_DMA_LENGTH dependency X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=59a68eb892497d32493a1fcbc4bd8f1ce13f598f;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git iommu/dma: Fix NEED_SG_DMA_LENGTH dependency IOMMU_DMA does indeed depend on scatterlists having a DMA length, but the NEED_SG_DMA_LENGTH symbol should be selected, not depended upon. Reported-by: Arnd Bergmann Signed-off-by: Robin Murphy Acked-by: Arnd Bergmann Signed-off-by: Joerg Roedel --- diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index a1e75cba18e0..66f118448c84 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -51,9 +51,9 @@ config OF_IOMMU # IOMMU-agnostic DMA-mapping layer config IOMMU_DMA bool - depends on NEED_SG_DMA_LENGTH select IOMMU_API select IOMMU_IOVA + select NEED_SG_DMA_LENGTH config FSL_PAMU bool "Freescale IOMMU support"