ANDROID: dma: Rework so dev_get_cma_area() can be called from a module
Export dma_contiguous_default_area so dev_get_cma_area() can be called from a module. This allows the CMA dma-buf heap to be configured and built as a module. Signed-off-by: John Stultz <john.stultz@linaro.org> Change-Id: I8ae944c147ff83dcd8d42a39efa6769dae4039b7 Bug: 155218010 Link: https://lore.kernel.org/lkml/20191025234834.28214-2-john.stultz@linaro.org/ Signed-off-by: Hridya Valsaraju <hridya@google.com>
This commit is contained in:
parent
9fdcd51c80
commit
c5c98fa168
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@
|
|||
#endif
|
||||
|
||||
struct cma *dma_contiguous_default_area;
|
||||
EXPORT_SYMBOL_GPL(dma_contiguous_default_area);
|
||||
|
||||
/*
|
||||
* Default global CMA area size can be defined in kernel's .config.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue