From patchwork Thu Jan 11 21:44:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 10158647 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C9F5160170 for ; Thu, 11 Jan 2018 21:44:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B920C28716 for ; Thu, 11 Jan 2018 21:44:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ACFCD28762; Thu, 11 Jan 2018 21:44:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5DCB428716 for ; Thu, 11 Jan 2018 21:44:26 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 526896E480; Thu, 11 Jan 2018 21:44:25 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt0-x244.google.com (mail-qt0-x244.google.com [IPv6:2607:f8b0:400d:c0d::244]) by gabe.freedesktop.org (Postfix) with ESMTPS id AC6636E479; Thu, 11 Jan 2018 21:44:23 +0000 (UTC) Received: by mail-qt0-x244.google.com with SMTP id s3so3699495qtb.10; Thu, 11 Jan 2018 13:44:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=qZU28F5fFn04JQWfieH4nlQtJUrQufucDxLXsMEXR6o=; b=QXl4nnx0WlBLlK8kxGKkz6yNfAUNob7eW0u7QZX7vKxeOrO8zhCVBmatZFB50wVAKg vVFfahhlD/QiZKJRR2t5LY3cs0k+UjQtKnCfz758/iOo72tdm/c7kRauoBCT9J2fPNW3 UNMfwGbYKJOoFUuF0E7Y6DcsXj49P9gXAl55cZH5yNiCz8zp5hWhv9NRB3yl6N7FDiBx MX3NgjD7ww9wG8EvOCyNjwzM/NcF1v4G7jT0Paxy5+QBk/egqHG66QgvuNvOVTeKX5Fu tNlNQqSzSn0+xltfCWHqym1f2l9U7pgfywV4tx7Ur1NvmsobMJeLlZCbtJaypQPHU/zx kynQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=qZU28F5fFn04JQWfieH4nlQtJUrQufucDxLXsMEXR6o=; b=bGhypodKnwUkR52klj+SS48I6yg/eljK009lq+T1BEsTpZzplPmThIUtfKrbOEgyvO 0pXJyKjORfJ2XKpjNqV9MxWUYlztBNudIWYx7ez/65qyNnBmtldxN07zrNBYT7X418te ZOUgjnCGnugJPYxGgNl9udJzJAGV5fWR6+XALdLkUykETuBsDW6OfHXjoy61ZfTcyws+ ruDsUfoNZWRZPG3zDVi19ik49gyyAoYsKAM5ivZ8dWlpd/zSlEzLY3me0UuC4A/B15eo JjJSkozR0xN5GHESkbpSUp0eUmVjQe3AjRoKedSEHm6hF/LOytubqDA2NbV8KPrsA0rq 2+hA== X-Gm-Message-State: AKwxytdcCtlTtJYZgBr29/yfSCRHdr+WfaeMzfBNNwZnCteA+qGKg7pt 5+J/IurLPOQr7VA37rYGIns= X-Google-Smtp-Source: ACJfBotMaAj4Z56PWv0WZBeQnWJeMBP16fbo8b9tnZYzWInGWorB1EOcjDWeobygHT/eIm1otGYpfg== X-Received: by 10.200.24.18 with SMTP id q18mr33406233qtj.210.1515707062506; Thu, 11 Jan 2018 13:44:22 -0800 (PST) Received: from localhost (p200300E41F21CF00227DB10B7BBDB590.dip0.t-ipconnect.de. [2003:e4:1f21:cf00:227d:b10b:7bbd:b590]) by smtp.gmail.com with ESMTPSA id m44sm12845370qtc.9.2018.01.11.13.44.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 11 Jan 2018 13:44:21 -0800 (PST) From: Thierry Reding To: Ben Skeggs Subject: [PATCH 1/5] drm/prime: Remove duplicate forward declaration Date: Thu, 11 Jan 2018 22:44:16 +0100 Message-Id: <20180111214420.26203-1-thierry.reding@gmail.com> X-Mailer: git-send-email 2.15.1 Cc: linux-tegra@vger.kernel.org, Daniel Vetter , dri-devel@lists.freedesktop.org, nouveau@lists.freedesktop.org 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-Virus-Scanned: ClamAV using ClamSMTP From: Thierry Reding struct device is forward-declared twice. Remove the second instance. Reviewed-by: Chris Wilson Signed-off-by: Thierry Reding --- include/drm/drm_prime.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/drm/drm_prime.h b/include/drm/drm_prime.h index 9cd9e36f77b5..59ccab402e85 100644 --- a/include/drm/drm_prime.h +++ b/include/drm/drm_prime.h @@ -59,8 +59,6 @@ struct drm_device; struct drm_gem_object; struct drm_file; -struct device; - struct dma_buf *drm_gem_prime_export(struct drm_device *dev, struct drm_gem_object *obj, int flags);