Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 59a68eb8 authored by Robin Murphy's avatar Robin Murphy Committed by Joerg Roedel
Browse files

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: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarRobin Murphy <robin.murphy@arm.com>
Acked-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 06bfcaa9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"