From patchwork Mon Jan 11 19:18:55 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 360543 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3139392jai; Mon, 11 Jan 2021 11:19:55 -0800 (PST) X-Google-Smtp-Source: ABdhPJyacq6VLhpIvfNq7cySH2ZefStR0UOBka5APJtEN0qn67VgKE5AKo21rO8H+OKRDQ922kMw X-Received: by 2002:a62:e516:0:b029:156:3b35:9423 with SMTP id n22-20020a62e5160000b02901563b359423mr839665pff.19.1610392795683; Mon, 11 Jan 2021 11:19:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610392795; cv=none; d=google.com; s=arc-20160816; b=l4BpJMI6lk528vj0qI19qn7aaARwDv2HckiuX56041+H3GJO8vIRlzqvdiDqS7i8Na OR/vz0SzU0HJaFIDP2hhuIf6mX4dNLVdJTphf4aynpVSjygSPex41DDIY5aSgqzU4ZDI DiLjea9RcqVkWPPmMH2kNbbGy+nq0MMB4xVvc8MkkSEr5TSrokfiBnurTtpHvOonJO0Q sdqYSoxY3KgbdkOB8+OjvCMK8LJ3/9dnoc4GZJY4akE34oyHyWMnLZc7J0rszwsymK2W Vi7QizAFXieiD2hHuzw7IwHONQqlzkWrofmkoIbNmgWTRoYJykTKtU+Q/d3mql0JnKj4 bK1Q== 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=+XI8tpjTDMXKteUegXux5xrJWsvTweBJgnlwZWSkPFQ=; b=UStm5HsHT3svbfOfcwr3/ixscFja5lZPyAD34rpJMwS2Ps1X6H6ed5iI4ZtcXX/33d nfgxZWpBsZ5877oR+GMLLbLmVC9wH5fvn/3FqDQuM1kfz9P8UkbFKDejn8wjmBmicYo6 bmwCGLzvQjMCvGbYtCcZy2QG742Cv65v1udNCUeQXLh6omel3PGt7V1FsT7KG2RFsWtq XyUsKtj1vlgdvAP9f2FONwylBO7Uw2Z3cSeLiTKZUKMr0fQThG2MN1wiWI1EqAklqVPr 5MN/bOgf+O6mBcDRQeApknir+qUM7t1lKtJl1kNi6SAjcnjCbDguwUrwucVWjjp8Hz43 fVTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=ZgN070xj; 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 y21si602083pll.260.2021.01.11.11.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:19:55 -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=ZgN070xj; 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 B9B6989E06; Mon, 11 Jan 2021 19:19:45 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x433.google.com (mail-wr1-x433.google.com [IPv6:2a00:1450:4864:20::433]) by gabe.freedesktop.org (Postfix) with ESMTPS id 56A1489E0C for ; Mon, 11 Jan 2021 19:19:43 +0000 (UTC) Received: by mail-wr1-x433.google.com with SMTP id r7so934644wrc.5 for ; Mon, 11 Jan 2021 11:19:43 -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=UcsXd93K7BxPfLMZix7N1m2GKT2azGUOXW7pu1fAJ6Q=; b=ZgN070xj9zEPxR6Eju8xm/BGEJNz26qAu8AK4hz5kXNIOjqsQxjUOJqZ4iQ7ohXe6P bmOVqJpchg0VBixwo6iK1krjte9+L1Afe75VVKj8jbMEDib/VMRKbvNvdmJxJkH2g8/6 iwod8WTWIKRUyQbScNhoFkgfi7OPMNWCymJ+arxVjLaP8grMv96/ZLuyiflsT+b20Q30 NTKQsNA0WpV1M6zAsBxspLjTpqdatanlXZJYFC2nQWTNPOjPHBf6+Fm9NCw8cIocOCHe kJBjojkgFDNH2+DGSSjAgMTKyWIborbM1NB5Srr8x6osaizYXvHLlU7A1ucFe1eiWRWb ykJg== 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=UcsXd93K7BxPfLMZix7N1m2GKT2azGUOXW7pu1fAJ6Q=; b=sltpffXYlujg8IdB5LQmm5ySJXx6QKzFXNDSEjO5rDHZrk5Vbtbk66/8oF/SKkPMtp jUdMrf1PV5asCym+B1mmmnbJ1ZwXgVtq5bKi1D0ZsRc0SWqntPP0F61IgtGjY0W08sLU VNAgEa5btVpvnc1t9mM0ecFkEwXKf31NGOSqy+5Raw1A4z/+eDBZzt1hOreSVXdzGTZg Axnxb90wxWXmF3qaGgaHPZlIuB7MTylo+BZcjf4GfuNem2TbI2Nnpx3XblwgY2qf6Mc4 qwsubSYHF5L/ViX1DViHSjFIYGF+AUnInUAHzsVktXUcMfJIF762sYQ474YTnqijG/kQ x2kw== X-Gm-Message-State: AOAM530PmMbZu79NYGywBnvBWhQTrgVLqP5j460a7d7ZhrkjYrBOFvIU HLVxleNgTydkZjWxlexzMqbwHg== X-Received: by 2002:adf:f344:: with SMTP id e4mr593240wrp.25.1610392782031; Mon, 11 Jan 2021 11:19:42 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id n3sm778090wrw.61.2021.01.11.11.19.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:19:41 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 09/40] drm/amd/display/dc/gpio/diagnostics/hw_factory_diag: Include our own header containing prototypes Date: Mon, 11 Jan 2021 19:18:55 +0000 Message-Id: <20210111191926.3688443-10-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_factory_diag.c:50:6: warning: no previous prototype for ‘dal_hw_factory_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_factory_diag.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c b/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c index df68430aeb0c2..c6e28f6bf1a27 100644 --- a/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c +++ b/drivers/gpu/drm/amd/display/dc/gpio/diagnostics/hw_factory_diag.c @@ -28,6 +28,7 @@ */ #include "dm_services.h" +#include "hw_factory_diag.h" #include "include/gpio_types.h" #include "../hw_factory.h"