]> git.baikalelectronics.ru Git - kernel.git/commit
arm64: Replace set_arch_dma_coherent_ops with arch_setup_dma_ops
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 18 Dec 2014 17:13:49 +0000 (17:13 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 22 Dec 2014 09:26:32 +0000 (09:26 +0000)
commit800390fde185411a1467e767534fa85846f3349d
tree203222ac7488d89e6b4f2418e640e2d86dacb5f7
parentc687bb41805a1238a38a086952014d5682516d9d
arm64: Replace set_arch_dma_coherent_ops with arch_setup_dma_ops

Commit 51df7018065d (dma-mapping: replace set_arch_dma_coherent_ops with
arch_setup_dma_ops) changes the of_dma_configure() arch dma_ops callback
to arch_setup_dma_ops but only the arch/arm code is updated. Subsequent
commit db41de61f935 (dma-mapping: detect and configure IOMMU in
of_dma_configure) changes the arch_setup_dma_ops() prototype further to
handle iommu. The patch makes the corresponding arm64 changes.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Will Deacon <will.deacon@arm.com>
arch/arm64/include/asm/dma-mapping.h