mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user