From patchwork Mon Jan 11 19:18:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 360540 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3139354jai; Mon, 11 Jan 2021 11:19:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJywycVoxKiQLg3ql6kJoDyBkTGlAclzbgPNiTkDJGoGcTT397qXkRRYqcdqoRhyVrxFwF/4 X-Received: by 2002:a17:902:8f90:b029:db:fc74:c59a with SMTP id z16-20020a1709028f90b02900dbfc74c59amr810545plo.58.1610392791799; Mon, 11 Jan 2021 11:19:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610392791; cv=none; d=google.com; s=arc-20160816; b=TeVKSBpjXUEOWDwxaWsB5zyVR5l3oG4KI7bOdZ0YhfmV0FKPnDioBXhuzTMcJrQJfQ CXsgHQmxmfYjSJAeu7v+8OY/Wxmm1aqCoSBxthGMWlNSJztVQerk5UVU5FuGtMd1+hFM lfjsLE/HdJHpf1PxrF15jqD2hq5FCgCinga6pJpJOpcCwNG5axzXdj3C46WQABzLJVQy gjG+/jU5SOCxsTpXEHcx1RkAdEbmK72+qNhwoKFp65Yqlwdmk4j2U70ySPjC/oK2uAkC a/Ko3QiSVfjtSQ4XCkXOcXlWBjXKuxClZ3dW5O2uYphK4WjsCc2m58zQBYA3R3nN1Zst rMRQ== 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=aSjqc8LkZAsbsm2ssarU3gXyxSorE1RPURijt9fo0Xs=; b=z0Qt93iULiNu1Nc69CWBKggnAaErs+UOV3ijVyAd/9fDWApti3/ii5VthvoLduANco BJmfZcMfWiL2ftG0EZrW4eQvDhaJNuqA+wBwNXQ5DAH/RmXCGIQv4n7LlMeVHKDVCu/1 u77EnweY5kwHixRAVOeWmKgiUCySTx5JWXVJO1LtojxlhA9oIOiQSahM6VxMyime0RuQ p1S1j52+KOK8FTyQT5oSv5/Hjhh/faEMl6a7FlVB+BL8K/KjNPue51AG0hFLKgRcpXNf UMHxyGjb2vCMv0//Nio5BdYx2myVjbiLbY75tlj0pSpZo1MWNojI9lYFUBV+sQkAImav Vp/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZKvYlOSz; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id d5si404417pgb.330.2021.01.11.11.19.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:19:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZKvYlOSz; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 9252689DF7; Mon, 11 Jan 2021 19:19:40 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by gabe.freedesktop.org (Postfix) with ESMTPS id 922C889DEC for ; Mon, 11 Jan 2021 19:19:39 +0000 (UTC) Received: by mail-wr1-x42a.google.com with SMTP id t16so948849wra.3 for ; Mon, 11 Jan 2021 11:19:39 -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=VAJr/GrILhLZ43nh9MNYnDn6VtEAVAp1VLhyj8VjtZY=; b=ZKvYlOSzjGWKUDGJudDlR+nNT4HXGZeiYCmcLqgSbXIAWWaMK3TVGyu5ojYZStFVAk ucVfGCsMKfaal5fZbPscd/OGWdciwFyLxC9UiSU/y2BCZCdw1+y4SBDTXhDPKrHL36S6 iBxBetqmGUNT5sVgq5B3rDMbiStK1hSZ/XcRTqC/G0/wurOtC9e+QSqZIxHackHdBx3u qg5ntYjG+SQu8YWCFi444oT7avvkhVrdmaV1RbjPqDIv9IxQHmekARKG2jax7yvLhTuW HJBjzy9NW7H5Fi2dWH+LIhE/mNsar4fIe37QvruE2KCfoEnKlOt4axe2jydNyMfaPcEG PLCw== 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=VAJr/GrILhLZ43nh9MNYnDn6VtEAVAp1VLhyj8VjtZY=; b=t2baQhgmcGfgCxbnu7gX1AVhNtvP0ysusHm6MXAEKxNe60d1iAYR145+6/iFy0oR3N 1Ku7tuGZgHql3XUm+jwx66yMCakNe/ktkpmk2UuZa/yGbY4q8i9b7y2vvXgWC7nHPOKi E2xYoAjhr8M8sNWZVEndQbIbKW9LIKCJgBDKfro3EsypNF8kNonOqhblMpekBpG1oLsh 0ITk4YK1YPL6R9mkv2tBzoXjwwF6WVyXIG1rjUzNULxJqSbIpQHAt0HkLpyqXN+GhDfe LWjl5HQpO85BcxSBZNfIlaJj72tUCWxpCManC8X8hnE7viR4CRW2Oxoaar+7J5eraGwB X9Zw== X-Gm-Message-State: AOAM530tuHIGwJHMxER8jRmEjpH8mrjIf9X2NFoSKZ+N/YQw2t16uK0m ADBkKxFHaAPH4LvCqP4Ul0PI8A== X-Received: by 2002:adf:d201:: with SMTP id j1mr612338wrh.212.1610392778311; Mon, 11 Jan 2021 11:19:38 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id n3sm778090wrw.61.2021.01.11.11.19.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:19:37 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 06/40] drm/amd/display/dc/gpio/diagnostics/hw_translate_diag: Include our own header containing prototypes Date: Mon, 11 Jan 2021 19:18:52 +0000 Message-Id: <20210111191926.3688443-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210111191926.3688443-1-lee.jones@linaro.org> References: <20210111191926.3688443-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: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/diagnostics/hw_translate_diag.c:37:6: warning: no previous prototype for ‘dal_hw_translate_diag_fpga_init’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- .../gpu/drm/amd/display/dc/gpio/diagnostics/hw_translate_diag.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_translate_diag.c b/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_translate_diag.c index bf90688469271..e5138a5a8eb5a 100644 --- a/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_translate_diag.c +++ b/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_translate_diag.c @@ -24,6 +24,7 @@ */ #include "dm_services.h" +#include "hw_translate_diag.h" #include "include/gpio_types.h" #include "../hw_translate.h"