]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drm: Add some missing forward declarations
authorThierry Reding <thierry.reding@avionic-design.de>
Wed, 21 Nov 2012 14:00:47 +0000 (15:00 +0100)
committerThierry Reding <thierry.reding@avionic-design.de>
Fri, 22 Feb 2013 07:20:03 +0000 (08:20 +0100)
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>
include/drm/drm_crtc.h

index 77627184775c164d2fc4a450ae7663aa1615c207..8839b3a246608989089582f7a20cd237d4f177cd 100644 (file)
@@ -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