From patchwork Fri Oct 31 14:17:38 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gustavo Padovan X-Patchwork-Id: 5204901 Return-Path: X-Original-To: patchwork-dri-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5D1519F472 for ; Fri, 31 Oct 2014 14:17:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9195520115 for ; Fri, 31 Oct 2014 14:17:53 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 8BB7D20154 for ; Fri, 31 Oct 2014 14:17:52 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5288589FD7; Fri, 31 Oct 2014 07:17:51 -0700 (PDT) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wi0-f179.google.com (mail-wi0-f179.google.com [209.85.212.179]) by gabe.freedesktop.org (Postfix) with ESMTP id 9E33389EBB for ; Fri, 31 Oct 2014 07:17:47 -0700 (PDT) Received: by mail-wi0-f179.google.com with SMTP id h11so1414521wiw.12 for ; Fri, 31 Oct 2014 07:17:46 -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=ACDPc5tL+ESigdP7GtYJAp+FsdvHOMGHnDwpUg7FewE=; b=B5wtdMfI4wVv0+M8MaDl+pQSu65nvq4YwO8WOnG6SOAAHnjj97trm6yf7WfM1F7mCz 9o8C5v6lo+brAYNtau/myjvwcbY4p/7SrFBdUUVrPrZy8L/j2VfhHkLhlwXmVs5pE4m4 ZSmJOxd5USBlOIU+R5y4gclK8FS5K4WkPv2K7x5C33J39pCN5aUJvnM2vU5Ct7dzV7Mr 4wJjEIcXG686VU6jnPbzf8efaxmXWYI7sSsy+VAO4eT4EpT/tDkwc/NkfIWY7Nc8Fhgg 5XncjslLfbhBs53UWaeE/rIb9rLizT+Qb9xCwb43n/f3MMTspguipHlrDMnqixn7cGJM s7/w== X-Received: by 10.180.9.33 with SMTP id w1mr4314376wia.22.1414765066735; Fri, 31 Oct 2014 07:17:46 -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 4/9] drm/exynos: Replace repeated declaration by include Date: Fri, 31 Oct 2014 14:17:38 +0000 Message-Id: <1414765063-30598-4-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 declarations. Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/exynos/exynos_drm_drv.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/exynos/exynos_drm_drv.h b/drivers/gpu/drm/exynos/exynos_drm_drv.h index 3905e30..7806981 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_drv.h +++ b/drivers/gpu/drm/exynos/exynos_drm_drv.h @@ -15,6 +15,7 @@ #ifndef _EXYNOS_DRM_DRV_H_ #define _EXYNOS_DRM_DRV_H_ +#include #include #define MAX_CRTC 3 @@ -36,9 +37,6 @@ #define wait_for(COND, MS) _wait_for(COND, MS) -struct drm_device; -struct drm_connector; - /* This enumerates device type. */ enum exynos_drm_device_type { EXYNOS_DEVICE_TYPE_NONE,