From patchwork Fri Oct 31 14:17:39 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 5205001 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 8B76FC11AD for ; Fri, 31 Oct 2014 14:18:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CCDDF20160 for ; Fri, 31 Oct 2014 14:17:59 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 1784D20115 for ; Fri, 31 Oct 2014 14:17:59 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 1556F6E79B; Fri, 31 Oct 2014 07:17:58 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by gabe.freedesktop.org (Postfix) with ESMTP id 4EC8089FD7 for ; Fri, 31 Oct 2014 07:17:48 -0700 (PDT) Received: by mail-wi0-f171.google.com with SMTP id q5so1429505wiv.16 for ; Fri, 31 Oct 2014 07:17:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=6HoPWFU2zcZRJ+WYK8xQbyC/mJIboLe0mylJAWETIuo=; b=IBgFSZNPMPM2inN8qYCVv5dKNrAyPI+a+VrresFQ5w216KaaEoHoBrrtPPJ3TXi6Ye ZcvRxo7trokHfdLg/1rkJoZF17E7o34naW8qmFWS55LGLj8F7gSO0XRJY/C5UVRTgVis 6kg5FkBu9io8dTp+SqxueGjsCHm9bYlgbKg8GW4ChmPW7xinNf65FtL0th4nnG/ISnQn KNDR30bzoUq8OnuRBYDphBsjNAI6YmEzj3lLWROMDoOg82FsN9WdSCmM5jvi6PjBHTjC D3DMSuCW2xwn08/G81Srny9s0VQNTi8+bsuiu6uLu8Gmal3ctMkBRot5bb1cS0XNCEFt AQGg== X-Received: by 10.180.207.226 with SMTP id lz2mr4168843wic.46.1414765067279; Fri, 31 Oct 2014 07:17:47 -0700 (PDT) Received: from jasmin.cbg.collabora.co.uk (pakora.collabora.co.uk. [93.93.133.71]) by mx.google.com with ESMTPSA id ce1sm12256825wjc.2.2014.10.31.07.17.46 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 31 Oct 2014 07:17:46 -0700 (PDT) From: Gustavo Padovan To: dri-devel@lists.freedesktop.org Subject: [PATCH 5/9] drm/exynos: Replace repeated declarations by #include "exynos_drm_drv.h" Date: Fri, 31 Oct 2014 14:17:39 +0000 Message-Id: <1414765063-30598-5-git-send-email-gustavo@padovan.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1414765063-30598-1-git-send-email-gustavo@padovan.org> References: <1414765063-30598-1-git-send-email-gustavo@padovan.org> Cc: linux-samsung-soc@vger.kernel.org, Gustavo Padovan X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Gustavo Padovan Re-declare struct is not a good practice, let's use the original drm and exynos declarations. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_crtc.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_crtc.h b/drivers/gpu/drm/exynos/exynos_drm_crtc.h index 690dcdd..e353d35 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_crtc.h +++ b/drivers/gpu/drm/exynos/exynos_drm_crtc.h @@ -15,10 +15,7 @@ #ifndef _EXYNOS_DRM_CRTC_H_ #define _EXYNOS_DRM_CRTC_H_ -struct drm_device; -struct drm_crtc; -struct exynos_drm_manager; -struct exynos_drm_overlay; +#include "exynos_drm_drv.h" int exynos_drm_crtc_create(struct exynos_drm_manager *manager); int exynos_drm_crtc_enable_vblank(struct drm_device *dev, int pipe);