aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2014-11-25 06:09:48 -0500
committerDaniel Vetter <daniel.vetter@ffwll.ch>2014-11-25 07:28:25 -0500
commit37cc0148773abbd8e7dbf8b2cb3399e887233fc2 (patch)
treed0e72f98d39aabe4d4d309611d1f5dd2a4027848
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>
-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 @@
28#ifndef DRM_ATOMIC_H_ 28#ifndef DRM_ATOMIC_H_
29#define DRM_ATOMIC_H_ 29#define DRM_ATOMIC_H_
30 30
31#include <drm/drm_crtc.h>
32
31struct drm_atomic_state * __must_check 33struct drm_atomic_state * __must_check
32drm_atomic_state_alloc(struct drm_device *dev); 34drm_atomic_state_alloc(struct drm_device *dev);
33void drm_atomic_state_clear(struct drm_atomic_state *state); 35void drm_atomic_state_clear(struct drm_atomic_state *state);