Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2049901pxu; Tue, 24 Nov 2020 15:53:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJxZLsYojPaqM9PLLYNABI1qCyp7nkZ6Zfaz+uzH6w/gSjVdIph92jwouHu1QdDFTPv7HZHu X-Received: by 2002:a17:906:9501:: with SMTP id u1mr765453ejx.405.1606262005205; Tue, 24 Nov 2020 15:53:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606262005; cv=none; d=google.com; s=arc-20160816; b=X+nOgDkvnLAccUgN7aYm2AAKNJlaCyA2HBPnsLPaXx+wlhIkCIytco9aLlBGRdHwQn TrIQENkwPFMHMs1HcAP20peCyPswNLTLtpRXYgSguyXmvxe0IwUnfmJ5dinKckS2hiMX /XI3eabVqQFuaHp5qqaZjMSOWpxfp67zrABAPzYJLSKrsSPxn6cycYVBU1TawMbSc02F Tm6LMRCHAzVPufrfJbkSovjWHpodxtwjUFMk9BSP523RA9e+vnBojzKoEPynMkAVvd36 OTiujdsRJER75KwkMEcOMG0xqLZWQxaFSadrRfjn+p4s1lPNoDTfSc0zPWe4Ne/rDSw5 eoLw== 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=ZMRPM9I1lRNzH88FtoqbWHR6lT2TOJ7GT2PZsC4P/7E=; b=GjVegRIkj4f+Ljby0XEGxdF3uBCGze3sIp4QxPvldllO/ZGNRVQtChQAuW39zjcpax LTHcjtDupn5+Mt8sU6JpH5QHcvReQE0/pvCszw3J9OtssKGzlHzcYDUxxi75nfIXNCLr wrveyPPQCHjWEWS13YCZHVd9FWDj3LUQ9NsxDgWwwpVue82h83wDDcdY480PpjiguEHK 0FDI+coVU/ZGmkq2mu+kGgumCs6zuw2Jp5f4DGVteo+jcoiykPUA7UId+mmkcMsaPL11 5xwUaZoVmBNj1w3hETghvGf0LY4xwfOA51VW4DmrsfK/RSMXlCO0cvPk6WExR7B6+HDU CeoQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Pv1nAl+X; 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 z11si223172ejr.354.2020.11.24.15.53.02; Tue, 24 Nov 2020 15:53:25 -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=Pv1nAl+X; 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 S1726954AbgKXToX (ORCPT + 99 others); Tue, 24 Nov 2020 14:44:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726858AbgKXToO (ORCPT ); Tue, 24 Nov 2020 14:44:14 -0500 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E2378C0613D6 for ; Tue, 24 Nov 2020 11:44:13 -0800 (PST) Received: by mail-wr1-x444.google.com with SMTP id e7so6012363wrv.6 for ; Tue, 24 Nov 2020 11:44:13 -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=ZMRPM9I1lRNzH88FtoqbWHR6lT2TOJ7GT2PZsC4P/7E=; b=Pv1nAl+XofxDOZMywxILqcP4qIfKofxo/gaSMnaL6TNvz2rt53Q/joRSKnqpI7b53o +mFQmg+10YbgQAqbu6F/cdCzPBL58XI60OMwNhhOmGOdPuoWXcqr88wOld6btC+12xTf vHOZo7K8jnHhrisjkOZOwcL8kDhmTh9ZMP4QGo3QnFq1KxzD84c366EnPZGiWBR1rvXX hlQ9n+fPeXMkpACeuYr0J69YEKM3NGMCv/LM9NFvZZ/IzMjhZRGShhD9/7VZmk25Gm2f VqeMCMauBULX0332aSWQFCo5DEL0tMUuX4zfbsqua/L0qPD8eIEnuUlEv//H5f+tcSu5 8v2Q== 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=ZMRPM9I1lRNzH88FtoqbWHR6lT2TOJ7GT2PZsC4P/7E=; b=TcNU7xdl4aTTsmtUPjYQt2YkSJcufn0HNawT4Z6nfh/lX2dK/u5Q7M8OqqdxFOiTYl d7ClCYowzQJci0vr9fOmSZnBDYIgGEchSvz1VTUpQS9kOZPtW/YCkEBzn/B8JuxpQ4cw dnmWfSujoZjoqBOxYmsItaveOxrGRhQmCyKha78i4cFfZ4tQ1MHLdyUAXhkBE2I2xXZd inNBUavSSLxgxZndIUAIg9e3sZjsbHns9TwWwy5YaSMRINe78wmQ7DE6Mw5ahY7Q+YCP cc/d2qFH6Dytfa9vAcD6JIis2GGqbcYtyusr8MfNZXEpZ/ILLLiDiBQMWIPKr4sPbSOf HC9A== X-Gm-Message-State: AOAM532G/1j7GNVpfgxtvlXZovGZojv+hWwBzMUDa+KzDmbDPDZQx/vb JTrbhHSdQNx5v74L/a/eJTq/dQ== X-Received: by 2002:adf:f7c2:: with SMTP id a2mr78636wrq.11.1606247052702; Tue, 24 Nov 2020 11:44:12 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id d134sm200511wmd.8.2020.11.24.11.44.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:44:12 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , Hawking Zhang , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 11/40] drm/amd/amdgpu/psp_v11_0: Make local function 'psp_v11_0_wait_for_bootloader()' static Date: Tue, 24 Nov 2020 19:37:55 +0000 Message-Id: <20201124193824.1118741-12-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201124193824.1118741-1-lee.jones@linaro.org> References: <20201124193824.1118741-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/psp_v11_0.c:223:5: warning: no previous prototype for ‘psp_v11_0_wait_for_bootloader’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Hawking Zhang Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/psp_v11_0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c index edd2d6bd1d86a..bd4248c93c49f 100644 --- a/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c +++ b/drivers/gpu/drm/amd/amdgpu/psp_v11_0.c @@ -220,7 +220,7 @@ static int psp_v11_0_init_microcode(struct psp_context *psp) return err; } -int psp_v11_0_wait_for_bootloader(struct psp_context *psp) +static int psp_v11_0_wait_for_bootloader(struct psp_context *psp) { struct amdgpu_device *adev = psp->adev; -- 2.25.1