From patchwork Fri Jan 15 18:13:04 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 363691 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp89441jap; Fri, 15 Jan 2021 10:14:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJzVvrIYqEBmzsJvX0EyRdUbzK9+u+UvR8vPOuYdDzSuMaf1gW2A5zoSgtmxQDBTMjzBb514 X-Received: by 2002:a17:90a:cc0a:: with SMTP id b10mr11744025pju.59.1610734467483; Fri, 15 Jan 2021 10:14:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610734467; cv=none; d=google.com; s=arc-20160816; b=e0AWUkRNlkrPS3/QWuvR4R8P+Kcrf8FuN3KE1H7j33xN3Xl5yLAiXzrMYZbbmPTcRd wUGOa9QEVohj+/7fsoxk2DbfTz4zXF0IOPW4i+XOGNwywNTvEKt4D2XzpiIIyYs/S78D MtLLWGFyr825uNsjbPEJu5shdJuIbXsNOvu6x5lyYPYf1xefNvrHvGp6uXfgQv7nDQNV gl4JPheCrxwWIyYQqShC3CLrXKFMtwtXxoPoNy/FtxUi3QhtDO27mopeJvb0jaeQ31Oq zXTEiGWKGu2iZ/vEsAHFwCGQ8W0mYPiuTy7Hzg+1pLHAEaJrg3wV/zHRfUnMNLCHVICv 8WLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=qDYkHRwn8PGIl95L+xZomOCFakXfGZHrFuvD/ak9EaQ=; b=o0ORZcAs7TGEowJh6BQpWHCDqEnltrYzDkNCQJGPTVVTA7uZ5Tda7Yr82jwr61pxiU KSVrIBMC5s25ICgO/0DVRdcZhYxfnYN6haxgWPTCuIStKgMKGUxFGD5R2sUK25HKnyDD h+oHUnMOYTy13OB/KcbCya92NEV923QRl+tCXUtKZUMsz66HE4qcm0A/bHeM6eiqZ+l8 WLWMftyokLK2Wh+MK5ZZKLB5s03ONhNxPJXRFssvtOtxfQteir7NFUBgqDNlc+7RQYaK Rh0m6gCEfT4FsYCqFKRy0dtxef2yXmXkS0V4c5PiQn0xe/uvGeQl+K17cEwKfwUHf9+T j0Rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=URYUQikT; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id k185si10560860pfd.35.2021.01.15.10.14.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=URYUQikT; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C155F6E4A7; Fri, 15 Jan 2021 18:14:14 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x330.google.com (mail-wm1-x330.google.com [IPv6:2a00:1450:4864:20::330]) by gabe.freedesktop.org (Postfix) with ESMTPS id 13C066E49C for ; Fri, 15 Jan 2021 18:14:05 +0000 (UTC) Received: by mail-wm1-x330.google.com with SMTP id y187so8409447wmd.3 for ; Fri, 15 Jan 2021 10:14:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JPqjkgIRJp+MRlYiJIdOLESmtI1+G3x8A3c4gbTlrp8=; b=URYUQikT1ubIBypdWNn5JgBBuXlql29P1qAbd5qPje/NQfeENl1ULvQa//CbMbYFoF b20uBNi16xepfMRbzFAyJRUVZ5MqivZm/jQ3qlfN7rnn+QWmxkY2iaz8w1vQ2BgJSII3 0FwKk8O6S4fT3G1jrL1Nm0znrOhkfTzKQcuxjdDJigTEszxLz87IAitAEMwf4C97U6AX KHGWLXJiXGxqvJNLPK3vjQ0+TiasqtTYfpbhyX8g1IJOabVyiiW4vHc7/d9vvvMkRYZT bAG0gZZTYzUgwzxPPL+V2uepaHxF6vv6mwTy6iwe+9FlYsL9SGj8WiBBjMMNQZgSFKdY uCEQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=JPqjkgIRJp+MRlYiJIdOLESmtI1+G3x8A3c4gbTlrp8=; b=T1R+ehSqpFCDGfIkOxFH9VvMU3+/45nSge+pId8Mv7E5h8tZ0YyIw6GygN9IZUnSlg 2Tjl+WHJJkUGK7UbpIlkMUqUMte4dUtqIilsnkBIWlEW3YbE2nyiDokoBwrlSHwBY90+ lx5d7JopUn2LlDDxgjORuylEWQZge0y7lyAGJq3Fzdroo+S9ojf8KYo4UDSNts0zfby8 2se/gKBy9lwdUn9qg7SpUH8xz1x6Ep9jPGLLBqmcJH34TGfCH4Q6W7P85tSFmNceOZFa N9/o9l1OkCF//1XDiQmUe54HXJheuhNqP+xm7K9VmghRwqefb6neCpfNAWpGxvWldhs5 7Hvw== X-Gm-Message-State: AOAM530T9uISvJ8cvs81NshjMhUxiKdHGjkUUvywH9ip0PfaiIMtr90y YFsmX0J7tqqJVqfhGw3xkgEXOg== X-Received: by 2002:a1c:2d48:: with SMTP id t69mr9677839wmt.124.1610734443715; Fri, 15 Jan 2021 10:14:03 -0800 (PST) Received: from dell.default ([91.110.221.158]) by smtp.gmail.com with ESMTPSA id j2sm16123484wrh.78.2021.01.15.10.14.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Jan 2021 10:14:03 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 31/40] drm/gma500/gem: Do not rely on consumers to include drm/drm_device.h before gem.h Date: Fri, 15 Jan 2021 18:13:04 +0000 Message-Id: <20210115181313.3431493-32-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210115181313.3431493-1-lee.jones@linaro.org> References: <20210115181313.3431493-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/gma500/gem.h:13:57: warning: ‘struct drm_device’ declared inside parameter list will not be visible outside of this definition or declaration Cc: Patrik Jakobsson Cc: David Airlie Cc: Daniel Vetter Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/gma500/gem.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/gma500/gem.h b/drivers/gpu/drm/gma500/gem.h index 3741a711b9fde..bae6454ead292 100644 --- a/drivers/gpu/drm/gma500/gem.h +++ b/drivers/gpu/drm/gma500/gem.h @@ -8,6 +8,8 @@ #ifndef _GEM_H #define _GEM_H +struct drm_device; + extern const struct drm_gem_object_funcs psb_gem_object_funcs; extern int psb_gem_create(struct drm_file *file, struct drm_device *dev,