block: remove QUEUE_FLAG_DISCARD
[linux-block.git] / include / linux / dma-heap.h
index 5bc5c946af58a1f05b9d337974ed34d97ad50735..0c05561cad6e62b78af6d492b565f50db21e596f 100644 (file)
@@ -50,6 +50,15 @@ struct dma_heap_export_info {
  */
 void *dma_heap_get_drvdata(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