From: Thierry Reding Date: Wed, 21 Nov 2012 14:00:47 +0000 (+0100) Subject: drm: Add some missing forward declarations X-Git-Tag: upstream/snapshot3+hdmi~5652^2~1^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=595887eb90b7e74a3e276b8f17d35236d85b0d37;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Reviewed-by: Alex Deucher --- diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h index 7762718..8839b3a 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