diff options
| author | Sam Ravnborg <[email protected]> | 2019-01-08 19:29:39 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2019-01-09 21:54:08 +0000 |
| commit | 785cabaae94e23954d0cb93aad1ac1214606be7d (patch) | |
| tree | 8334753c2bc6f2e274ebce1c44b6a9d405c760a2 | |
| parent | drm/tinydrm: do not reply on drmP.h from drm_gem_cma_helper.h (diff) | |
| download | kernel-785cabaae94e23954d0cb93aad1ac1214606be7d.tar.gz kernel-785cabaae94e23954d0cb93aad1ac1214606be7d.zip | |
drm: remove drmP.h from drm_gem_cma_helper.h
With all dependencies fixed we can now remove
drmP.h from drm_gem_cma_helper.h.
It is replaced by the include files required,
or forward declarations as appropritate.
Signed-off-by: Sam Ravnborg <[email protected]>
Acked-by: Noralf Trønnes <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Maxime Ripard <[email protected]>
Cc: Sean Paul <[email protected]>
Cc: David Airlie <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
| -rw-r--r-- | include/drm/drm_gem_cma_helper.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/drm/drm_gem_cma_helper.h b/include/drm/drm_gem_cma_helper.h index 07c504940ba1..947ac95eb24a 100644 --- a/include/drm/drm_gem_cma_helper.h +++ b/include/drm/drm_gem_cma_helper.h @@ -2,9 +2,12 @@ #ifndef __DRM_GEM_CMA_HELPER_H__ #define __DRM_GEM_CMA_HELPER_H__ -#include <drm/drmP.h> +#include <drm/drm_file.h> +#include <drm/drm_ioctl.h> #include <drm/drm_gem.h> +struct drm_mode_create_dumb; + /** * struct drm_gem_cma_object - GEM object backed by CMA memory allocations * @base: base GEM object |
