[PATCH 5/6] drm: include drm_file.h from drm_syncobj.h

Jani Nikula jani.nikula at intel.com
Thu Dec 27 12:56:40 UTC 2018


Make it easier to drop drmP.h includes. Switch from "" to <> includes
while at it.

Cc: Sam Ravnborg <sam at ravnborg.org>
Cc: Daniel Vetter <daniel at ffwll.ch>
Cc: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
Signed-off-by: Jani Nikula <jani.nikula at 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..93884da3f9fe 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>
+
+#include <drm/drm_file.h>
 
 /**
  * struct drm_syncobj - sync object.
-- 
2.11.0



More information about the dri-devel mailing list