projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6d1a4d
)
ARM64: DMA: Export dma operation APIs for arm64 platform
author
Prabhu Sundararaj
<prabhu.sundararaj@nxp.com>
Mon, 24 Apr 2017 19:47:25 +0000
(14:47 -0500)
committer
Nitin 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
patch
|
blob
|
history
diff --git
a/arch/arm64/mm/dma-mapping.c
b/arch/arm64/mm/dma-mapping.c
index
cab3574
..
8df1079
100644
(file)
--- a/
arch/arm64/mm/dma-mapping.c
+++ b/
arch/arm64/mm/dma-mapping.c
@@
-31,6
+31,10
@@
#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,