From patchwork Fri Feb 22 07:03:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 2175041 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork1.kernel.org (Postfix) with ESMTP id 5956C3FCFC for ; Fri, 22 Feb 2013 07:32:35 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3173FE6A0F for ; Thu, 21 Feb 2013 23:32:35 -0800 (PST) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 062BAE6032 for ; Thu, 21 Feb 2013 23:03:55 -0800 (PST) Received: from mailbox.adnet.avionic-design.de (mailbox.avionic-design.de [109.75.18.3]) by mrelayeu.kundenserver.de (node=mrbap3) with ESMTP (Nemesis) id 0LtnUL-1UpeWQ2Fa1-011EOX; Fri, 22 Feb 2013 08:03:35 +0100 Received: from localhost (localhost [127.0.0.1]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id DA6672A28176; Fri, 22 Feb 2013 08:03:34 +0100 (CET) X-Virus-Scanned: amavisd-new at avionic-design.de Received: from mailbox.adnet.avionic-design.de ([127.0.0.1]) by localhost (mailbox.avionic-design.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id iRaRB742EosW; Fri, 22 Feb 2013 08:03:33 +0100 (CET) Received: from mailman.adnet.avionic-design.de (mailman.adnet.avionic-design.de [172.20.31.172]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id 704742A2817E; Fri, 22 Feb 2013 08:03:32 +0100 (CET) Received: from localhost (avionic-0098.adnet.avionic-design.de [172.20.31.233]) by mailman.adnet.avionic-design.de (Postfix) with ESMTP id D91BA100936; Fri, 22 Feb 2013 08:03:27 +0100 (CET) From: Thierry Reding To: David Airlie Subject: [PATCH v5 3/9] drm: Add some missing forward declarations Date: Fri, 22 Feb 2013 08:03:25 +0100 Message-Id: <1361516611-2517-4-git-send-email-thierry.reding@avionic-design.de> X-Mailer: git-send-email 1.8.1.2 In-Reply-To: <1361516611-2517-1-git-send-email-thierry.reding@avionic-design.de> References: <1361516611-2517-1-git-send-email-thierry.reding@avionic-design.de> X-Provags-ID: V02:K0:ty1pFz7gvUK8LOwkrUfxpEUr+5ehZzNTumYe0/GuT/G e0gXf1ySlpPToatuktT74pO5e7NubXphy1Rh2Bvqg96LQiAoo6 6luBBQFxOan9/tOkowu/q36TFe7mKRY3EHKg19qPHJoEufgYiF nHryeny36ra+KcLpP+xHplgYeHkKMtJLmMvzreVgjqDfbtRHO2 QhmlYIgsUKw0OVKc1SIDp9ZTU81tDyhJ1Mms4uHPfU7nCOnbQg PAVDCYRPnJu76PV2oBVS4Jgiiq743S+VXa5DC2msdIqDMPP/sX DtnrHZjgURqqUbANVF2BqpL1ISrXBV+5C3PmPPIjGtTLKu4ies 9sHPqMepYLp1dAyCuY/YscA9ylI6XiLrYmwJycMnnOepXNurk+ T629xvEJp+pf+eZPQFNP8I4pRwCPIKEqMbmG6oupMfkB11aiPj 13lSs Cc: dri-devel@lists.freedesktop.org, Paulo Zanoni X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org Errors-To: dri-devel-bounces+patchwork-dri-devel=patchwork.kernel.org@lists.freedesktop.org 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 --- include/drm/drm_crtc.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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