diff --git a/kernel/dma/contiguous.c b/kernel/dma/contiguous.c index b2a87905846d..e8c214d14808 100644 --- a/kernel/dma/contiguous.c +++ b/kernel/dma/contiguous.c @@ -31,6 +31,7 @@ #endif struct cma *dma_contiguous_default_area; +EXPORT_SYMBOL(dma_contiguous_default_area); /* * Default global CMA area size can be defined in kernel's .config. diff --git a/mm/cma.c b/mm/cma.c index 9516e7694d91..e2b95d4fdebc 100644 --- a/mm/cma.c +++ b/mm/cma.c @@ -48,11 +48,13 @@ phys_addr_t cma_get_base(const struct cma *cma) { return PFN_PHYS(cma->base_pfn); } +EXPORT_SYMBOL(cma_get_base); unsigned long cma_get_size(const struct cma *cma) { return cma->count << PAGE_SHIFT; } +EXPORT_SYMBOL(cma_get_size); const char *cma_get_name(const struct cma *cma) {