diff options
author | Robin Murphy <robin.murphy@arm.com> | 2016-02-29 14:13:39 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2016-02-29 19:23:50 +0300 |
commit | 59a68eb892497d32493a1fcbc4bd8f1ce13f598f (patch) | |
tree | bcbced51af7cf6c6d9c600fb5322e13d9aceaad0 /drivers/iommu/Kconfig | |
parent | 06bfcaa91f0eff1aeab37c74056afa79fb450aea (diff) | |
download | linux-59a68eb892497d32493a1fcbc4bd8f1ce13f598f.tar.xz |
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 <arnd@arndb.de>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/Kconfig')
-rw-r--r-- | drivers/iommu/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
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" |