[PATCH 3/6] powerpc: export arch_sync_dma_for_*()
Rob Clark
robdclark at gmail.com
Wed Aug 14 21:59:58 UTC 2019
From: Rob Clark <robdclark at chromium.org>
Signed-off-by: Rob Clark <robdclark at chromium.org>
---
arch/powerpc/mm/dma-noncoherent.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/powerpc/mm/dma-noncoherent.c b/arch/powerpc/mm/dma-noncoherent.c
index c617282d5b2a..80d53b950821 100644
--- a/arch/powerpc/mm/dma-noncoherent.c
+++ b/arch/powerpc/mm/dma-noncoherent.c
@@ -401,12 +401,14 @@ void arch_sync_dma_for_device(struct device *dev, phys_addr_t paddr,
{
__dma_sync_page(paddr, size, dir);
}
+EXPORT_SYMBOL_GPL(arch_sync_dma_for_device);
void arch_sync_dma_for_cpu(struct device *dev, phys_addr_t paddr,
size_t size, enum dma_data_direction dir)
{
__dma_sync_page(paddr, size, dir);
}
+EXPORT_SYMBOL_GPL(arch_sync_dma_for_cpu);
/*
* Return the PFN for a given cpu virtual address returned by arch_dma_alloc.
--
2.21.0
More information about the dri-devel
mailing list