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
master
Maxime Ripard 2026-03-31 12:00:13 +02:00 committed by Marek Szyprowski
parent 633040f853
commit 6207948f38
1 changed files with 1 additions and 0 deletions

View File

@ -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