From: Will Deacon Date: Fri, 16 Jan 2015 17:02:15 +0000 (+0100) Subject: ARM: 8289/1: dma-mapping: use to_dma_iommu_mapping instead of accessing archdata X-Git-Tag: omap-for-v4.1/fixes-rc1~142^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89cfdb19a88872088a8cf69621e55d41c379f02f;p=pandora-kernel.git ARM: 8289/1: dma-mapping: use to_dma_iommu_mapping instead of accessing archdata When using the IOMMU-backed DMA ops for a device, we store a pointer to the dma_iommu_mapping structure (used to keep track of the address space) in the archdata.mapping field of the struct device. Rather than access this field directly, use the to_dma_iommu_mapping helper in dma-mapping, so that we don't really care where the mapping information is held. Cc: Laurent Pinchart Signed-off-by: Will Deacon Signed-off-by: Russell King --- Reading git-diff-tree failed