From 7d5e496b5880feb5c96e2fbd70fbae53634f151e Mon Sep 17 00:00:00 2001 From: Tao Huang Date: Tue, 25 Jul 2023 12:12:45 +0800 Subject: [PATCH] video: rockchip: rga3: Import namespace DMA_BUF ERROR: modpost: module rga3 uses symbol dma_buf_vmap from namespace DMA_BUF, but does not import it. ERROR: modpost: module rga3 uses symbol dma_buf_vunmap from namespace DMA_BUF, but does not import it. ERROR: modpost: module rga3 uses symbol dma_buf_attach from namespace DMA_BUF, but does not import it. ERROR: modpost: module rga3 uses symbol dma_buf_map_attachment from namespace DMA_BUF, but does not import it. ERROR: modpost: module rga3 uses symbol dma_buf_detach from namespace DMA_BUF, but does not import it. ERROR: modpost: module rga3 uses symbol dma_buf_put from namespace DMA_BUF, but does not import it. ERROR: modpost: module rga3 uses symbol dma_buf_get from namespace DMA_BUF, but does not import it. ERROR: modpost: module rga3 uses symbol dma_buf_unmap_attachment from namespace DMA_BUF, but does not import it. Signed-off-by: Tao Huang Change-Id: I3fbad697bb9419f91f82d1aa5af087132c07cca7 --- drivers/video/rockchip/rga3/rga_drv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/video/rockchip/rga3/rga_drv.c b/drivers/video/rockchip/rga3/rga_drv.c index 226fb773760d..fa480095ec49 100644 --- a/drivers/video/rockchip/rga3/rga_drv.c +++ b/drivers/video/rockchip/rga3/rga_drv.c @@ -1615,5 +1615,6 @@ MODULE_AUTHOR("putin.li@rock-chips.com"); MODULE_DESCRIPTION("Driver for rga device"); MODULE_LICENSE("GPL"); #ifdef MODULE_IMPORT_NS +MODULE_IMPORT_NS(DMA_BUF); MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver); #endif