Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef DMA_BUF_HEAP_CMA_H_
3#define DMA_BUF_HEAP_CMA_H_
4
5struct cma;
6
7#ifdef CONFIG_DMABUF_HEAPS_CMA
8int dma_heap_cma_register_heap(struct cma *cma);
9#else
10static inline int dma_heap_cma_register_heap(struct cma *cma)
11{
12 return 0;
13}
14#endif // CONFIG_DMABUF_HEAPS_CMA
15
16#endif // DMA_BUF_HEAP_CMA_H_