base: EXPORT_SYMBOL for dma_alloc_from_contiguous && dma_release_from_contiguous

PD#165090: EXPORT_SYMBOL for dma_alloc_from_contiguous && dma_release_from_contiguous

Change-Id: I3809ed9a393e99fad9c63e3cbc60003de2ed8748
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
This commit is contained in:
Jiacheng Mei
2018-05-29 15:22:58 +08:00
committed by Yixun Lan
parent ffebd51c2c
commit 2e30de907a

View File

@@ -195,6 +195,7 @@ struct page *dma_alloc_from_contiguous(struct device *dev, size_t count,
return cma_alloc(dev_get_cma_area(dev), count, align);
}
EXPORT_SYMBOL(dma_alloc_from_contiguous);
/**
* dma_release_from_contiguous() - release allocated pages
@@ -211,7 +212,7 @@ bool dma_release_from_contiguous(struct device *dev, struct page *pages,
{
return cma_release(dev_get_cma_area(dev), pages, count);
}
EXPORT_SYMBOL(dma_release_from_contiguous);
/*
* Support for reserved memory regions defined in device tree
*/