Skip to content
Snippets Groups Projects
Commit 2d2c6edb authored by Gianfranco Mariotti's avatar Gianfranco Mariotti Committed by OpenEmbedded
Browse files
parent e8791c9e
No related branches found
No related tags found
No related merge requests found
......@@ -257,6 +257,18 @@ struct device *dma_heap_get_dev(struct dma_heap *heap)
return heap->heap_dev;
}
/**
* dma_heap_get_name() - get heap name
* @heap: DMA-Heap to retrieve private data for
*
* Returns:
* The char* for the heap name.
*/
const char *dma_heap_get_name(struct dma_heap *heap)
{
return heap->name;
}
struct dma_heap *dma_heap_add(const struct dma_heap_export_info *exp_info)
{
struct dma_heap *heap, *h, *err_ret;
......
......@@ -59,6 +59,15 @@ void *dma_heap_get_drvdata(struct dma_heap *heap);
*/
struct device *dma_heap_get_dev(struct dma_heap *heap);
/**
* dma_heap_get_name() - get heap name
* @heap: DMA-Heap to retrieve private data for
*
* Returns:
* The char* for the heap name.
*/
const char *dma_heap_get_name(struct dma_heap *heap);
/**
* dma_heap_add - adds a heap to dmabuf heaps
* @exp_info: information needed to register this heap
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment