diff --git a/drivers/dma-buf/dma-heap.c b/drivers/dma-buf/dma-heap.c index 7802b1a59050..c48ac45e4d6c 100644 --- a/drivers/dma-buf/dma-heap.c +++ b/drivers/dma-buf/dma-heap.c @@ -277,6 +277,7 @@ struct device *dma_heap_get_dev(struct dma_heap *heap) { return heap->heap_dev; } +EXPORT_SYMBOL_GPL(dma_heap_get_dev); struct dma_heap *dma_heap_add(const struct dma_heap_export_info *exp_info) { diff --git a/drivers/dma-buf/heaps/Kconfig b/drivers/dma-buf/heaps/Kconfig index aed0b9b4febf..e273fb18feca 100644 --- a/drivers/dma-buf/heaps/Kconfig +++ b/drivers/dma-buf/heaps/Kconfig @@ -1,5 +1,5 @@ config DMABUF_HEAPS_SYSTEM - bool "DMA-BUF System Heap" + tristate "DMA-BUF System Heap" depends on DMABUF_HEAPS help Choose this option to enable the system dmabuf heap. The system heap