summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/lima
diff options
context:
space:
mode:
authorQiang Yu <yuq825@gmail.com>2019-04-09 03:36:17 +0300
committerQiang Yu <yuq825@gmail.com>2019-04-09 14:05:59 +0300
commit80bb8d983224337b713a93babfffedb376031034 (patch)
treeaa3090e318a5903225fd7905aace49c01d4589d5 /drivers/gpu/drm/lima
parent2b5440bc17564b411949c4c8c57f0810acd03a72 (diff)
downloadlinux-80bb8d983224337b713a93babfffedb376031034.tar.xz
drm/lima: include used header file explicitly
To prevent build fail on some platform which does not have it in the include file chain. Reviewed-by: Neil Armstrong <narmstrong@baylibre.com> Suggested-by: Randy Dunlap <rdunlap@infradead.org> Fixes: a1d2a6339961 ("drm/lima: driver for ARM Mali4xx GPUs") Signed-off-by: Qiang Yu <yuq825@gmail.com> Link: https://patchwork.freedesktop.org/patch/msgid/20190409003617.4470-2-yuq825@gmail.com
Diffstat (limited to 'drivers/gpu/drm/lima')
-rw-r--r--drivers/gpu/drm/lima/lima_gem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/lima/lima_gem.c b/drivers/gpu/drm/lima/lima_gem.c
index 2d3cf96f6c58..1d69498bc17e 100644
--- a/drivers/gpu/drm/lima/lima_gem.c
+++ b/drivers/gpu/drm/lima/lima_gem.c
@@ -1,6 +1,7 @@
// SPDX-License-Identifier: GPL-2.0 OR MIT
/* Copyright 2017-2019 Qiang Yu <yuq825@gmail.com> */
+#include <linux/mm.h>
#include <linux/sync_file.h>
#include <linux/pfn_t.h>