[PATCH 4/6] drm: include types.h from drm_hdcp.h

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

diff --git a/include/drm/drm_hdcp.h b/include/drm/drm_hdcp.h
index a6de09c5e47f..d6dfef8cff6a 100644
--- a/include/drm/drm_hdcp.h
+++ b/include/drm/drm_hdcp.h
@@ -9,6 +9,8 @@
 #ifndef _DRM_HDCP_H_INCLUDED_
 #define _DRM_HDCP_H_INCLUDED_
 
+#include <linux/types.h>
+
 /* Period of hdcp checks (to ensure we're still authenticated) */
 #define DRM_HDCP_CHECK_PERIOD_MS		(128 * 16)
 
-- 
2.11.0



More information about the dri-devel mailing list