Make it easier to drop drmP.h includes. Switch from "" to <> includes while at it.
v2: forward declare instead of including drm_file.h (Daniel) Cc: Sam Ravnborg <s...@ravnborg.org> Cc: Daniel Vetter <dan...@ffwll.ch> Cc: Laurent Pinchart <laurent.pinch...@ideasonboard.com> Reviewed-by: Daniel Vetter <daniel.vet...@ffwll.ch> Signed-off-by: Jani Nikula <jani.nik...@intel.com> --- include/drm/drm_syncobj.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/drm/drm_syncobj.h b/include/drm/drm_syncobj.h index 7c6ed845c70d..0311c9fdbd2f 100644 --- a/include/drm/drm_syncobj.h +++ b/include/drm/drm_syncobj.h @@ -26,7 +26,9 @@ #ifndef __DRM_SYNCOBJ_H__ #define __DRM_SYNCOBJ_H__ -#include "linux/dma-fence.h" +#include <linux/dma-fence.h> + +struct drm_file; /** * struct drm_syncobj - sync object. -- 2.11.0 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel