drm: Make drm_atomic_helper.h standalone includible
authorThierry Reding <treding@nvidia.com>
Tue, 25 Nov 2014 11:09:47 +0000 (12:09 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 25 Nov 2014 12:28:19 +0000 (13:28 +0100)
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.

Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
include/drm/drm_atomic_helper.h

index 64b4e91b93bc0afaff5f81f09a10d23af424b785..70a83197ef6692324e5c58e2f8658b937e5c5e0e 100644 (file)
@@ -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,