ANDROID: add dma-buf namespace to system_heap.c & cma_heap.c

Commit 16b0314aa7 ("dma-buf: move dma-buf symbols into the DMA_BUF
module namespace") moved the dma-buf exports into the DMA_BUF namespace.
To keep the system_heap.c and cma_heap modules building, add them to the
DMA_BUF namespace as well.

Fixes: 16b0314aa7 ("dma-buf: move dma-buf symbols into the DMA_BUF module namespace")
Cc: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Ib69062d41c426844f82667a51d75f0c35bad2bdf
This commit is contained in:
Greg Kroah-Hartman
2021-11-15 17:37:35 +01:00
parent 56be63c7e8
commit 41a3d93a39
2 changed files with 2 additions and 0 deletions

View File

@@ -403,3 +403,4 @@ static int add_default_cma_heap(void)
module_init(add_default_cma_heap);
MODULE_DESCRIPTION("DMA-BUF CMA Heap");
MODULE_LICENSE("GPL v2");
MODULE_IMPORT_NS(DMA_BUF);

View File

@@ -517,3 +517,4 @@ static int system_heap_create(void)
}
module_init(system_heap_create);
MODULE_LICENSE("GPL v2");
MODULE_IMPORT_NS(DMA_BUF);