summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2021-09-25 19:38:15 +0300
committerEmil Renner Berthing <kernel@esmil.dk>2021-12-26 18:41:31 +0300
commit65fa4e698a680f24d20599b821c6052583fa96ea (patch)
tree0daedaedaf60a9352c365dbe6471472924266a38 /kernel
parent04aa808960b377ca3dffbb30511d7fd688c40ba9 (diff)
downloadlinux-65fa4e698a680f24d20599b821c6052583fa96ea.tar.xz
nvdla: Support compilation as module
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/dma/coherent.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/dma/coherent.c b/kernel/dma/coherent.c
index 25fc85a7aebe..0d919b596fa7 100644
--- a/kernel/dma/coherent.c
+++ b/kernel/dma/coherent.c
@@ -130,6 +130,7 @@ int dma_declare_coherent_memory(struct device *dev, phys_addr_t phys_addr,
dma_release_coherent_memory(mem);
return ret;
}
+EXPORT_SYMBOL_GPL(dma_declare_coherent_memory);
static void *__dma_alloc_from_coherent(struct device *dev,
struct dma_coherent_mem *mem,