From b9d8bc00ec5be280ce28f105adc0e0ae13fbf2b3 Mon Sep 17 00:00:00 2001 From: Hyesoo Yu Date: Thu, 24 Dec 2020 15:52:38 +0900 Subject: [PATCH] ANDROID: dma-buf: heap: export dma_heap_put dma_heap_put() symbols is needed for vendor loadable modules to drop reference count after dma_heap_find(). Bug: 176262479 Signed-off-by: Hyesoo Yu Change-Id: I180698371d16a9e14ed648687e77a68dc3afc951 --- 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 c48ac45e4d6c..0699c4b70b5c 100644 --- a/drivers/dma-buf/dma-heap.c +++ b/drivers/dma-buf/dma-heap.c @@ -265,6 +265,7 @@ void dma_heap_put(struct dma_heap *h) kref_put(&h->refcount, dma_heap_release); mutex_unlock(&heap_list_lock); } +EXPORT_SYMBOL_GPL(dma_heap_put); /** * dma_heap_get_dev() - get device struct for the heap