From: Thierry Reding <tred...@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

Reply via email to