Skip to content

Commit 6207948

Browse files
mripardmszyprow
authored andcommitted
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
1 parent 633040f commit 6207948

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kernel/dma/contiguous.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ struct cma *dev_get_cma_area(struct device *dev)
138138

139139
return dma_contiguous_default_area;
140140
}
141+
EXPORT_SYMBOL_GPL(dev_get_cma_area);
141142

142143
#ifdef CONFIG_DMA_NUMA_CMA
143144

0 commit comments

Comments
 (0)