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 <hyesoo.yu@samsung.com>
Change-Id: I180698371d16a9e14ed648687e77a68dc3afc951
Signed-off-by: Hridya Valsaraju <hridya@google.com>
(cherry picked from commit c87cc4b2e554a670e00bdf08ad74e7596167d1c8)
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
This commit is contained in:
Hyesoo Yu 2020-12-24 15:52:38 +09:00 committed by Palmer Dabbelt
parent 5e2f1d9167
commit 42daaf8760
1 changed files with 1 additions and 0 deletions

View File

@ -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