PD#165090: EXPORT_SYMBOL for dma_alloc_from_contiguous && dma_release_from_contiguous
Change-Id: I99720292a02e3f3939bd3ad274daa82d8bc485b2
Signed-off-by: Jiacheng Mei <jiacheng.mei@amlogic.com>
return cma_alloc(dev_get_cma_area(dev), count, align);
}
+#ifdef CONFIG_AMLOGIC_MODIFY
EXPORT_SYMBOL(dma_alloc_from_contiguous);
-
+#endif
/**
* dma_release_from_contiguous() - release allocated pages
* @dev: Pointer to device for which the pages were allocated.
{
return cma_release(dev_get_cma_area(dev), pages, count);
}
+#ifdef CONFIG_AMLOGIC_MODIFY
EXPORT_SYMBOL(dma_release_from_contiguous);
+#endif
/*
* Support for reserved memory regions defined in device tree
*/