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>
This commit is contained in:
Thierry Reding 2014-11-25 12:09:48 +01:00 committed by Daniel Vetter
parent 0254951d9c
commit 37cc014877
1 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,8 @@
#ifndef DRM_ATOMIC_H_ #ifndef DRM_ATOMIC_H_
#define DRM_ATOMIC_H_ #define DRM_ATOMIC_H_
#include <drm/drm_crtc.h>
struct drm_atomic_state * __must_check struct drm_atomic_state * __must_check
drm_atomic_state_alloc(struct drm_device *dev); drm_atomic_state_alloc(struct drm_device *dev);
void drm_atomic_state_clear(struct drm_atomic_state *state); void drm_atomic_state_clear(struct drm_atomic_state *state);