summaryrefslogtreecommitdiff
path: root/kernel/dma/contiguous.c
diff options
context:
space:
mode:
authorMaxime Ripard <mripard@kernel.org>2026-03-31 12:00:13 +0200
committerMarek Szyprowski <m.szyprowski@samsung.com>2026-03-31 13:27:20 +0200
commit6207948f389ec1b938a39aa43fb4aedd58d65e0d (patch)
treedad6aa3d278b50175789db67e516906fd0596e5d /kernel/dma/contiguous.c
parent633040f853467a490437ace26d6a5413e64c0dd0 (diff)
downloadlinux-next-6207948f389ec1b938a39aa43fb4aedd58d65e0d.tar.gz
linux-next-6207948f389ec1b938a39aa43fb4aedd58d65e0d.zip
dma: contiguous: Export dev_get_cma_area()
The CMA dma-buf heap uses the dev_get_cma_area() function to retrieve the default contiguous area. Now that this function is no longer inlined, and since we want to turn the CMA heap into a module, let's export it. Signed-off-by: Maxime Ripard <mripard@kernel.org> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Link: https://lore.kernel.org/r/20260331-dma-buf-heaps-as-modules-v4-4-e18fda504419@kernel.org
Diffstat (limited to 'kernel/dma/contiguous.c')
-rw-r--r--kernel/dma/contiguous.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c
index fd8d3518a232..83a5bd9488e1 100644
--- a/kernel/dma/contiguous.c
+++ b/kernel/dma/contiguous.c
@@ -138,6 +138,7 @@ struct cma *dev_get_cma_area(struct device *dev)
return dma_contiguous_default_area;
}
+EXPORT_SYMBOL_GPL(dev_get_cma_area);
#ifdef CONFIG_DMA_NUMA_CMA