From 38f5fe502c9c92cceb00911b2bb5de1bfe9863b3 Mon Sep 17 00:00:00 2001 From: Chris Goldsworthy Date: Sat, 16 May 2020 10:22:16 -0700 Subject: [PATCH] ANDROID: Export dma_heap_add to modularize heaps Export dma_heap_add in order to allow heaps to be compiled as modules. Bug: 155218010 Signed-off-by: Chris Goldsworthy Change-Id: I7e63c8e757d8cbbfaa1ef34eba8f589d70ba0b91 --- drivers/dma-buf/dma-heap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/dma-buf/dma-heap.c b/drivers/dma-buf/dma-heap.c index afd22c9dbdcf..f225589005c8 100644 --- a/drivers/dma-buf/dma-heap.c +++ b/drivers/dma-buf/dma-heap.c @@ -272,6 +272,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(struct device *dev, umode_t *mode) {