[PATCH 3/6] drm: include idr.h from drm_file.h

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


Make it easier to drop drmP.h includes.

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_file.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/drm/drm_file.h b/include/drm/drm_file.h
index 84ac79219e4c..6710b612e2f6 100644
--- a/include/drm/drm_file.h
+++ b/include/drm/drm_file.h
@@ -32,6 +32,7 @@
 
 #include <linux/types.h>
 #include <linux/completion.h>
+#include <linux/idr.h>
 
 #include <uapi/drm/drm.h>
 
-- 
2.11.0



More information about the dri-devel mailing list