summaryrefslogtreecommitdiff
path: root/include/drm
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2012-11-21 15:00:47 +0100
committerThierry Reding <thierry.reding@avionic-design.de>2013-02-22 08:20:03 +0100
commit595887eb90b7e74a3e276b8f17d35236d85b0d37 (patch)
tree0c06f44d572ef36abb9b69bc19ed2dc2dea2fa7c /include/drm
parenta6b21831772db4088bca770dc99697356e82a7e2 (diff)
drm: Add some missing forward declarations
The drm_file and drm_clip_rect structures are used throughout the file but they are never declared nor pulled in through an include. Add forward declarations to make them available. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'include/drm')
-rw-r--r--include/drm/drm_crtc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index 77627184775c..8839b3a24660 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -38,7 +38,8 @@ struct drm_device;
struct drm_mode_set;
struct drm_framebuffer;
struct drm_object_properties;
-
+struct drm_file;
+struct drm_clip_rect;
#define DRM_MODE_OBJECT_CRTC 0xcccccccc
#define DRM_MODE_OBJECT_CONNECTOR 0xc0c0c0c0