diff options
| author | Sam Ravnborg <[email protected]> | 2019-07-18 18:15:03 +0200 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2019-07-19 23:24:17 +0200 |
| commit | d3ea256aa4c7db9f7d366eb196c0edf5cca2f1f2 (patch) | |
| tree | 5ea630282255d185af8505933ccefd3b304d82db | |
| parent | 1c53587629f62d71f2ef22fb64c045ecd57a0e2e (diff) | |
drm: direct include of drm.h in drm_gem_shmem_helper.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: Eric Anholt <[email protected]>
Cc: Thomas Zimmermann <[email protected]>
Cc: Rob Herring <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
| -rw-r--r-- | drivers/gpu/drm/drm_gem_shmem_helper.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_gem_shmem_helper.c b/drivers/gpu/drm/drm_gem_shmem_helper.c index 472ea5d81f82..2f64667ac805 100644 --- a/drivers/gpu/drm/drm_gem_shmem_helper.c +++ b/drivers/gpu/drm/drm_gem_shmem_helper.c @@ -10,6 +10,7 @@ #include <linux/slab.h> #include <linux/vmalloc.h> +#include <drm/drm.h> #include <drm/drm_device.h> #include <drm/drm_drv.h> #include <drm/drm_gem_shmem_helper.h> |