[PATCH 1/6] drm: include drm_device.h from drm_legacy.h

Jani Nikula jani.nikula at intel.com
Thu Dec 27 12:56:36 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_legacy.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/drm/drm_legacy.h b/include/drm/drm_legacy.h
index 8fad66f88e4f..743d7e70c896 100644
--- a/include/drm/drm_legacy.h
+++ b/include/drm/drm_legacy.h
@@ -2,6 +2,7 @@
 #define __DRM_DRM_LEGACY_H__
 
 #include <drm/drm_auth.h>
+#include <drm/drm_device.h>
 
 /*
  * Legacy driver interfaces for the Direct Rendering Manager
-- 
2.11.0



More information about the dri-devel mailing list