diff options
author | Yanteng Si <siyanteng01@gmail.com> | 2021-10-14 11:51:33 +0300 |
---|---|---|
committer | Rob Clark <robdclark@chromium.org> | 2021-10-21 19:46:01 +0300 |
commit | f8546caa41ddab1c7c2c23b47331c40e93b1bf60 (patch) | |
tree | 5076b6bf605499d0345a4cfa95bb72c7a55ddee7 /drivers/gpu | |
parent | e60af4f8550f4400263e6a28e01f285ddf71b8c3 (diff) | |
download | linux-f8546caa41ddab1c7c2c23b47331c40e93b1bf60.tar.xz |
drm/msm: Fix missing include files in msm_gem.c
Include linux/vmalloc.h to fix below errors:
error: implicit declaration of function 'vmap'
Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Link: https://lore.kernel.org/r/15f30165e94574e4cd7c4da9f9c6fd1e320d4d8e.1634200323.git.siyanteng@loongson.cn
Signed-off-by: Rob Clark <robdclark@chromium.org>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/msm/msm_gem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/msm/msm_gem.c b/drivers/gpu/drm/msm/msm_gem.c index bd6ec04f345e..6b03e00cc5f2 100644 --- a/drivers/gpu/drm/msm/msm_gem.c +++ b/drivers/gpu/drm/msm/msm_gem.c @@ -5,6 +5,7 @@ */ #include <linux/dma-map-ops.h> +#include <linux/vmalloc.h> #include <linux/spinlock.h> #include <linux/shmem_fs.h> #include <linux/dma-buf.h> |