Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2509646pxb; Mon, 11 Jan 2021 11:27:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxOA4KWxrTO6aQwaXHdK2wRA4f1hSXTMJYyPCwFjsRvSUq1PzHFCZQPdDLnJkfbqimj8yUV X-Received: by 2002:a17:906:2984:: with SMTP id x4mr673937eje.239.1610393242644; Mon, 11 Jan 2021 11:27:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610393242; cv=none; d=google.com; s=arc-20160816; b=Z+vTWP6RTPVSfjKtbXxa0rH15bGNLlRx4isy3pxkUOhIZvGnd8MR7mFB/JJv/fX2xz u7/kkLcpR5cBA765EqN5G0NVReYT4O1v0993l9vUXz1FEA6R94zRlhI16mCyrm36xtxY 3/mVBqfw43KqGDBHE2l3KV1F17P/42PZtTFqQurBwP263FrnqjvaQdH6xeG35akLuqAn AHoKAR+HptepGW8zsDpvaFD52IsQurpsDSMbp1BFgX3iumOndCkpCohR0q9fbbTCaLBR dJmpkYF8DxHxiLSCeuIz+I2tvz6fqdqNnQ/oU80T7MF6SLZyUTqkwGNVRagM/M/yRbiZ XK3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=VAJr/GrILhLZ43nh9MNYnDn6VtEAVAp1VLhyj8VjtZY=; b=MTHHLkLVZJvEul6J4LnYa7/LzE7To5xeX1piKXk5KTdb4v7VCkSwjMH8yWzgpj9U8+ GNKY8exTl2nuBhRVkslZ8jwcUJjZUvb1XQcREvQGD6XkkcmcopZzcJeFE9L3+skaomv4 +U/7Gu98ru05+hB0gkI2ByLaFv6ez9POi4yDJGSs+N6LzsIE7KSJ0fs3s+OW7d0f9sEj Ss4Pv+4hQWbNxOUtbXYcpo0jtw5l9iDf1o5VqJ0RRWDO1c5tphQjWXcHK3O6NYsk8zgf 4bKhIkbqgaYdhBrUMrU4uqNxpozAlI7HD+f69Gt6nFWi1czdSE5u//LzWGfRvuGPJvES t9Ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZKvYlOSz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o22si132925ejg.205.2021.01.11.11.26.59; Mon, 11 Jan 2021 11:27:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZKvYlOSz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2403773AbhAKTUy (ORCPT + 99 others); Mon, 11 Jan 2021 14:20:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2403768AbhAKTUw (ORCPT ); Mon, 11 Jan 2021 14:20:52 -0500 Received: from mail-wr1-x434.google.com (mail-wr1-x434.google.com [IPv6:2a00:1450:4864:20::434]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 90600C0617A6 for ; Mon, 11 Jan 2021 11:19:39 -0800 (PST) Received: by mail-wr1-x434.google.com with SMTP id q18so965872wrn.1 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=me+Mxf3iYo4uI0Np/hbZ/EMKXzz/WF7q93mIHkvXoEGmoVTyDYwTt2PeYXbFSIEWkN /ZiEIh6h/M9EhjXkFRPHTrFQheaYf3y6ZcPO/4ys96irAtw1P/xRvEzCokiqAU4xg2I2 Khb7PuyMKNp3CfA7dGZ0h2sHWExxJYa1G9uZNfBAf5vW+BJ4ExIMpk2UTtcH4P5frjKy d/2wILtSE/oyb1VipnL5Mr9+m3Wcoqf1KFsxIxcuOD/b6sQaop98guC3Erfr2NMmMM0D WK6oL6U/ExZZbaHO0Ung1vA2x/VdoOHtekOrLbiJf2JQa7OrElrBUQtW8ctjl8e0lIAQ /1qg== X-Gm-Message-State: AOAM531y32ALXiF78YedFkXeQmZEAPS8p7oMQyWLOxQqwWOEErwhpP3V wFt3BMqzVMPBicUcGxCjYUiA2Q== 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 Cc: linux-kernel@vger.kernel.org, Harry Wentland , Leo Li , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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" -- 2.25.1