Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <sam@ravnborg.org>
Acked-by: Noralf Trønnes <noralf@tronnes.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <maxime.ripard@bootlin.com>
Cc: Sean Paul <sean@poorly.run>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20190108192939.15255-13-sam@ravnborg.org

authored by

Sam Ravnborg and committed by
Daniel Vetter
785cabaa 84056e9b

+4 -1
+4 -1
include/drm/drm_gem_cma_helper.h
··· 2 2 #ifndef __DRM_GEM_CMA_HELPER_H__ 3 3 #define __DRM_GEM_CMA_HELPER_H__ 4 4 5 - #include <drm/drmP.h> 5 + #include <drm/drm_file.h> 6 + #include <drm/drm_ioctl.h> 6 7 #include <drm/drm_gem.h> 8 + 9 + struct drm_mode_create_dumb; 7 10 8 11 /** 9 12 * struct drm_gem_cma_object - GEM object backed by CMA memory allocations