]> Git Repo - linux.git/commitdiff
iommu/dma: Fix NEED_SG_DMA_LENGTH dependency
authorRobin Murphy <[email protected]>
Mon, 29 Feb 2016 11:13:39 +0000 (11:13 +0000)
committerJoerg Roedel <[email protected]>
Mon, 29 Feb 2016 16:23:50 +0000 (17:23 +0100)
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 <[email protected]>
Signed-off-by: Robin Murphy <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
drivers/iommu/Kconfig

index a1e75cba18e03f8fbbd63338b7678e8105303e36..66f118448c84140478fc82ea2135133e881f1470 100644 (file)
@@ -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"
This page took 0.054554 seconds and 4 git commands to generate.