aboutsummaryrefslogtreecommitdiffstats
path: root/include/drm/drm_atomic.h
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/drm_atomic.h
parentdrm: Make drm_atomic_helper.h standalone includible (diff)
downloadlinux-dev-37cc0148773abbd8e7dbf8b2cb3399e887233fc2.tar.xz
linux-dev-37cc0148773abbd8e7dbf8b2cb3399e887233fc2.zip
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/drm_atomic.h')
-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);