ARM64: DMA: Export dma operation APIs for arm64 platform
authorPrabhu Sundararaj <prabhu.sundararaj@nxp.com>
Mon, 24 Apr 2017 19:47:25 +0000 (14:47 -0500)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:26 +0000 (15:22 -0500)
Some DMA operation APIs are not exported, so when load driver as module,
there will error saying some APIs can not be found.
This patch exported these DMA related APIs.

Signed-off-by: Shawn Xiao <b49994@freescale.com>
arch/arm64/mm/dma-mapping.c

index cab3574..8df1079 100644 (file)
 
 #include <asm/cacheflush.h>
 
+EXPORT_SYMBOL(__dma_map_area);
+EXPORT_SYMBOL(__dma_unmap_area);
+EXPORT_SYMBOL(__dma_flush_area);
+
 static int swiotlb __ro_after_init;
 
 static pgprot_t __get_dma_pgprot(unsigned long attrs, pgprot_t prot,