From: Will Deacon Date: Wed, 27 Aug 2014 14:49:10 +0000 (+0100) Subject: dma-mapping: replace set_arch_dma_coherent_ops with arch_setup_dma_ops X-Git-Tag: omap-for-v3.19/fixes-rc1~63^2^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3a60f81ee6f8fa65a57fa186b395bcd1f1bb097;p=pandora-kernel.git dma-mapping: replace set_arch_dma_coherent_ops with arch_setup_dma_ops set_arch_dma_coherent_ops is called from of_dma_configure in order to swizzle the architectural dma-mapping functions over to a cache-coherent implementation. This is currently implemented only for ARM. In anticipation of re-using this mechanism for IOMMU-backed dma-mapping ops too, this patch replaces the function with a broader arch_setup_dma_ops callback which will be extended in future. Acked-by: Arnd Bergmann Acked-by: Marek Szyprowski Tested-by: Robin Murphy Signed-off-by: Will Deacon --- Reading git-diff-tree failed