diff mbox

[4/5] drm: Make drm_atomic_helper.h standalone includible

Message ID 1416587033-16207-4-git-send-email-thierry.reding@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Thierry Reding Nov. 21, 2014, 4:23 p.m. UTC
From: Thierry Reding <treding@nvidia.com>

This header uses a bunch of declarations from the drm/drm_crtc.h header,
so make sure to include that as well so that drm_atomic_helper.h can be
included standalone.

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

Patch

diff --git a/include/drm/drm_atomic_helper.h b/include/drm/drm_atomic_helper.h
index 64b4e91b93bc..70a83197ef66 100644
--- a/include/drm/drm_atomic_helper.h
+++ b/include/drm/drm_atomic_helper.h
@@ -28,6 +28,8 @@ 
 #ifndef DRM_ATOMIC_HELPER_H_
 #define DRM_ATOMIC_HELPER_H_
 
+#include <drm/drm_crtc.h>
+
 int drm_atomic_helper_check(struct drm_device *dev,
 			    struct drm_atomic_state *state);
 int drm_atomic_helper_commit(struct drm_device *dev,