aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-11-25 12:09:48 +0100
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-11-25 13:28:25 +0100
commit37cc0148773abbd8e7dbf8b2cb3399e887233fc2 (patch)
treed0e72f98d39aabe4d4d309611d1f5dd2a4027848 /include/drm
parent0254951d9c581ea21f989f7c8248079fb414a152 (diff)
drm: Make drm_atomic.h standalone includible
This header file makes use of a bunch of structures declared in the drm_crtc.h header file. Include that to make sure the drm_atomic.h header can be included standalone. Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_atomic.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/drm/drm_atomic.h b/include/drm/drm_atomic.h
index 9d919168bc11..e224ccfa11ca 100644
--- a/include/drm/drm_atomic.h
+++ b/include/drm/drm_atomic.h
@@ -28,6 +28,8 @@
#ifndef DRM_ATOMIC_H_
#define DRM_ATOMIC_H_
+#include <drm/drm_crtc.h>
+
struct drm_atomic_state * __must_check
drm_atomic_state_alloc(struct drm_device *dev);
void drm_atomic_state_clear(struct drm_atomic_state *state);

Privacy Policy