mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
dma-buf: rk_heaps: weakly define dma_contiguous_early_fixup
Define dma_contiguous_early_fixup weakly since the function may not be defined by architecture. Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com> Change-Id: Id29e0515d24a9801aade00f4d257c80eb4238f6f
This commit is contained in:
@@ -38,6 +38,13 @@ static int __init early_dma_heap_cma(char *p)
|
||||
}
|
||||
early_param("rk_dma_heap_cma", early_dma_heap_cma);
|
||||
|
||||
#ifndef CONFIG_DMA_CMA
|
||||
void __weak
|
||||
dma_contiguous_early_fixup(phys_addr_t base, unsigned long size)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
int __init rk_dma_heap_cma_setup(void)
|
||||
{
|
||||
unsigned long size;
|
||||
|
||||
Reference in New Issue
Block a user