[PATCH 3/4] drm: Make drm_crtc_helper.h standalone includible

Thierry Reding thierry.reding at gmail.com
Wed Dec 17 07:41:42 PST 2014


From: Thierry Reding <treding at nvidia.com>

The file refers to a bunch of structure declared in drm_crtc.h, so
include it to make sure the drm_crtc_helper.h header can be included
standalone.

Signed-off-by: Thierry Reding <treding at nvidia.com>
---
 include/drm/drm_crtc_helper.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/drm/drm_crtc_helper.h b/include/drm/drm_crtc_helper.h
index 7adbb65ea8ae..8608897ace10 100644
--- a/include/drm/drm_crtc_helper.h
+++ b/include/drm/drm_crtc_helper.h
@@ -39,6 +39,8 @@
 
 #include <linux/fb.h>
 
+#include <drm/drm_crtc.h>
+
 enum mode_set_atomic {
 	LEAVE_ATOMIC_MODE_SET,
 	ENTER_ATOMIC_MODE_SET,
-- 
2.1.3



More information about the dri-devel mailing list