OSDN Git Service

drm/msm: Fix missing include files in msm_gem.c
authorYanteng Si <siyanteng01@gmail.com>
Thu, 14 Oct 2021 08:51:33 +0000 (16:51 +0800)
committerRob Clark <robdclark@chromium.org>
Thu, 21 Oct 2021 16:46:01 +0000 (09:46 -0700)
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>
drivers/gpu/drm/msm/msm_gem.c

index bd6ec04..6b03e00 100644 (file)
@@ -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>