diff options
| author | Sam Ravnborg <[email protected]> | 2019-07-18 16:15:04 +0000 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2019-07-19 21:24:17 +0000 |
| commit | 39716270d88c157b722e1f11adf9dada6bec3f11 (patch) | |
| tree | db1772a12d17c59db6a1b8ba48e8dd94c56353e7 /drivers/gpu/drm/drm_prime.c | |
| parent | drm: direct include of drm.h in drm_gem_shmem_helper.c (diff) | |
| download | kernel-39716270d88c157b722e1f11adf9dada6bec3f11.tar.gz kernel-39716270d88c157b722e1f11adf9dada6bec3f11.zip | |
drm: direct include of drm.h in drm_prime.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: Christian König <[email protected]>
Cc: Noralf Trønnes <[email protected]>
Cc: Chris Wilson <[email protected]>
Cc: Eric Anholt <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/drm_prime.c')
| -rw-r--r-- | drivers/gpu/drm/drm_prime.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index 189d980402ad..eca484106cc2 100644 --- a/drivers/gpu/drm/drm_prime.c +++ b/drivers/gpu/drm/drm_prime.c @@ -30,6 +30,7 @@ #include <linux/dma-buf.h> #include <linux/rbtree.h> +#include <drm/drm.h> #include <drm/drm_drv.h> #include <drm/drm_file.h> #include <drm/drm_framebuffer.h> |
