From patchwork Wed Dec 5 16:45:40 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 1842211 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by patchwork2.kernel.org (Postfix) with ESMTP id 21AAFDF266 for ; Wed, 5 Dec 2012 16:46:58 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 82F76E656E for ; Wed, 5 Dec 2012 08:46:57 -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.17.8]) by gabe.freedesktop.org (Postfix) with ESMTP id 54CA7E5EBD for ; Wed, 5 Dec 2012 08:45:49 -0800 (PST) Received: from mailbox.adnet.avionic-design.de (mailbox.avionic-design.de [109.75.18.3]) by mrelayeu.kundenserver.de (node=mrbap1) with ESMTP (Nemesis) id 0M1zHn-1TLj9D1qGZ-00tPAG; Wed, 05 Dec 2012 17:45:48 +0100 Received: from localhost (localhost [127.0.0.1]) by mailbox.adnet.avionic-design.de (Postfix) with ESMTP id B9EAE2A28103 for ; Wed, 5 Dec 2012 17:45:47 +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 NRCPRL+6cnBH for ; Wed, 5 Dec 2012 17:45:46 +0100 (CET) Received: from localhost (avionic-0098.adnet.avionic-design.de [172.20.31.233]) (Authenticated sender: thierry.reding) by mailbox.adnet.avionic-design.de (Postfix) with ESMTPA id 5A3FC2A280FD for ; Wed, 5 Dec 2012 17:45:46 +0100 (CET) From: Thierry Reding To: dri-devel@lists.freedesktop.org Subject: [RFC v2 1/5] drm: Add some missing forward declarations Date: Wed, 5 Dec 2012 17:45:40 +0100 Message-Id: <1354725944-1862-2-git-send-email-thierry.reding@avionic-design.de> X-Mailer: git-send-email 1.8.0.1 In-Reply-To: <1354725944-1862-1-git-send-email-thierry.reding@avionic-design.de> References: <1354725944-1862-1-git-send-email-thierry.reding@avionic-design.de> X-Provags-ID: V02:K0:LtOTwK0DMXbrdAQm2M3YqgkmOLqfepqNSKPh9m1NxFk wp4yIb1e92/HTwAnmC/1jTSa7IiS2NjvOpo9aADen/X5oIjcH7 DG9S0ykdWlvNl1SYW5jHsYHs44YX/srjXzmEIIJ44weM9V0NIl 2pY6YA/7AURlUT1F+yD0Zt8a6qK58LDRSmTny8CeLVaneuyHTS L8DcVi5pArnyySgOjlnSxSF5xbfo0WbBMFWGdWJvQFCm8gEMii cpJdOmDbPXuOA59B9ku6xMOvKXC7bpCMjeU0AOPx8K9MpgVkYO zeoyiQnp3mvxMvFzcEjZNqMWCYsRLVvwymfMGiDCGTCAJltkCD GJeomIL7om2wtmu8LTLhMFkjqTG1nv7cyqJNPTeQ/Yxbgeqr18 pHb+RDg8POXykkLuw5/gGAjPwmZdqBEUhPaqQhpD7vnHp1N+3Y TvQuO 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 c0635b7..71a5c74 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