This is necessary to create DMA heaps in other modules (e.g. graphics drivers).
Signed-off-by: Simon Ser <cont...@emersion.fr> Cc: Sumit Semwal <sumit.sem...@linaro.org> Cc: Benjamin Gaignard <benjamin.gaign...@collabora.com> Cc: Brian Starkey <brian.star...@arm.com> Cc: John Stultz <jstu...@google.com> Cc: "T.J. Mercier" <tjmerc...@google.com> --- drivers/dma-buf/dma-heap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/dma-buf/dma-heap.c b/drivers/dma-buf/dma-heap.c index 84ae708fafe7..51cd58b775d8 100644 --- a/drivers/dma-buf/dma-heap.c +++ b/drivers/dma-buf/dma-heap.c @@ -203,6 +203,7 @@ void *dma_heap_get_drvdata(struct dma_heap *heap) { return heap->priv; } +EXPORT_SYMBOL_GPL(dma_heap_get_drvdata); /** * dma_heap_get_name() - get heap name @@ -300,6 +301,7 @@ struct dma_heap *dma_heap_add(const struct dma_heap_export_info *exp_info) kfree(heap); return err_ret; } +EXPORT_SYMBOL_GPL(dma_heap_add); static char *dma_heap_devnode(const struct device *dev, umode_t *mode) { -- 2.42.0