aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/drm_syncobj.c
diff options
context:
space:
mode:
authorSam Ravnborg <[email protected]>2019-07-18 16:15:05 +0000
committerSam Ravnborg <[email protected]>2019-07-19 21:24:17 +0000
commitd89281c5edadc646a0445f2967513d15ea5876df (patch)
tree0cf312cdb35bf7d7a87a9e4cdf2c5972fb63dc3f /drivers/gpu/drm/drm_syncobj.c
parentdrm: direct include of drm.h in drm_prime.c (diff)
downloadkernel-d89281c5edadc646a0445f2967513d15ea5876df.tar.gz
kernel-d89281c5edadc646a0445f2967513d15ea5876df.zip
drm: direct include of drm.h in drm_syncobj.c
Do not rely on including drm.h from drm_file.h, as the include in drm_file.h will be dropped. Signed-off-by: Sam Ravnborg <[email protected]> Reviewed-by: Sean Paul <[email protected]> Cc: Maarten Lankhorst <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Lionel Landwerlin <[email protected]> Cc: Chunming Zhou <[email protected]> Cc: Christian König <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_syncobj.c')
-rw-r--r--drivers/gpu/drm/drm_syncobj.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_syncobj.c b/drivers/gpu/drm/drm_syncobj.c
index a199c8d56b95..75cb4bb7619e 100644
--- a/drivers/gpu/drm/drm_syncobj.c
+++ b/drivers/gpu/drm/drm_syncobj.c
@@ -53,6 +53,7 @@
#include <linux/sync_file.h>
#include <linux/uaccess.h>
+#include <drm/drm.h>
#include <drm/drm_drv.h>
#include <drm/drm_file.h>
#include <drm/drm_gem.h>