diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2019-07-18 18:15:02 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2019-07-19 23:24:17 +0200 |
commit | 1c53587629f62d71f2ef22fb64c045ecd57a0e2e (patch) | |
tree | 78ad3e42634a208f29f90bf9836825da96566957 /drivers/gpu/drm/drm_gem.c | |
parent | drm/ati_pcigart: drop dependency on drm_os_linux.h (diff) | |
download | linux-1c53587629f62d71f2ef22fb64c045ecd57a0e2e.tar.xz linux-1c53587629f62d71f2ef22fb64c045ecd57a0e2e.zip |
drm: direct include of drm.h in drm_gem.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 <sam@ravnborg.org>
Reviewed-by: Sean Paul <sean@poorly.run>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Eric Anholt <eric@anholt.net>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Cc: Rob Herring <robh@kernel.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20190718161507.2047-7-sam@ravnborg.org
Diffstat (limited to '')
-rw-r--r-- | drivers/gpu/drm/drm_gem.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c index e6c12c6ec728..243f43d70f42 100644 --- a/drivers/gpu/drm/drm_gem.c +++ b/drivers/gpu/drm/drm_gem.c @@ -39,6 +39,7 @@ #include <linux/mem_encrypt.h> #include <linux/pagevec.h> +#include <drm/drm.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> #include <drm/drm_file.h> |