From patchwork Tue Nov 24 19:37:55 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 331432 Delivered-To: patch@linaro.org Received: by 2002:a92:5e16:0:0:0:0:0 with SMTP id s22csp795926ilb; Tue, 24 Nov 2020 11:45:08 -0800 (PST) X-Google-Smtp-Source: ABdhPJysnsasC6zonmWoKR55a+zRkbOHXetXJxGZGj6nfEDzOeqCEogJ2UZYXv7FHTrJbwNCIpwR X-Received: by 2002:a63:211:: with SMTP id 17mr23566pgc.56.1606247108801; Tue, 24 Nov 2020 11:45:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606247108; cv=none; d=google.com; s=arc-20160816; b=OPbLthFPhOkHJFABtmpUCMT7nnJLkPdgsSxC2Nk6ZZzpC7hi03ScaQV+PVmD81V34y xjZNrjOExGpugWbvKyVJE0hB4NpFNmESu1haRBXiIMQW9B48L2/8wYW/oQce9FYAMx20 JrrCtEJ0omEx8503aNCrb+qHQaiGCUWPRzVpS1r53Hu6SjHwefjhdm5jSV0FyNsy0V/b uDBOBnHd1kJMETBXzr/sntsWu47Lx+PdIqcdyh9/jZ0ZdV7coyzTYRIziTPFCU9wmxsu alAy1eTIm3LJByOcVyG/zVB43f77MvNUSfBRtyR9b7JOdS5nkzHIAD6m9qnWX7NWMi8u A7Nw== 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=wtA/yukYF9qdkryYjVnMcLwAX127KdkTrzdy0o3MJeA=; b=gsStXZ2jvt0umYLUi9GONRJM8sm/DsHgrmeiRHrnLD5qfRmIoQzXJ5VVilOy8Sa6/R i0nOeSZleFlOrxDCQvgFjRWAFfTxNQHBfucWLksLRaRk8jkcs7UCar9QGRfCz0W9vhXN CQbaKmnZqYJDLxbpFV8oy7PJBazMZ6cSmuIr+pLyR1yOkwQTLxg6wRhAoIfrLKSGRyv0 j5yjG+ZkPcbKOldlYJ7uiDPjMZrbYZLW2jYODIh1cf7IoYMqTIEQl99235B7S92lZ9yz Om89McvD4ecvxYmopnczEcGYIKkhKM5VMDapqiBgDi0WdGJl3J1W2NS5g7FskDZ5O+Ll NZ8w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Pv1nAl+X; 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 y2si31822plb.362.2020.11.24.11.45.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Nov 2020 11:45:08 -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=Pv1nAl+X; 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 A56876E580; Tue, 24 Nov 2020 19:44:49 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by gabe.freedesktop.org (Postfix) with ESMTPS id 0F2C36E554 for ; Tue, 24 Nov 2020 19:44:13 +0000 (UTC) Received: by mail-wr1-x442.google.com with SMTP id 23so23518988wrc.8 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=ORxlQMd8JQz65mYx4YTzcjFeRZRkDYqS/XOVPDRVxs66FKSVF/WJ+1ZHLwkEmHUkLb Dj2SKN0jJUETyBSUgm1q7VOxFF7pbeKxx1l8IwNN3VG9jLiCeYZnDLMIDISH/3hMoj4W qr4pxDWlDuUxfNseMHj5wDtyo3838p0EfJoguDJ/U7h9Vs6pWohHXDF0oc5bgh+JNxHK pgfH/eP6DZ6Y0RwRjOTh04fw1TJMX0w8qeI/RdlHdM6D8+zNFjYgsx+70XYzNz1tUIZ3 PhxBom+ExcGRucqPO7t5Q4PkKhr1/Pv8GHMWu2p4s2ivLp64la4MjJTcjx9LhlYO1yCT 5+Uw== X-Gm-Message-State: AOAM533ZZgnuDUsR2sdMXG6KO1qCjMRw1s4yL7qIhzGVpDAShT2fSy/s +OCyQfcMVkUJ9OLtxwz0JGQNrQ== 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 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 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 , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= , Hawking Zhang 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/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;