From patchwork Fri Jan 8 20:14:40 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359050 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855894jai; Fri, 8 Jan 2021 12:15:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJwAO9gyKPXeMXYmt0+r23pf/R3yW9EJaOHHZY7vJWtnrCf5PKu1OcDEo9RFHvWO3jyQwPHI X-Received: by 2002:a17:90a:b010:: with SMTP id x16mr5456237pjq.74.1610136948274; Fri, 08 Jan 2021 12:15:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136948; cv=none; d=google.com; s=arc-20160816; b=pjoMAo1KmKvcOkcpEJ1eqW169RZBjNce+gHE0HhXch8B/7hMIeSXK8aW1cXRT+bFPe UYFKn6zXiHRxWAUcMYYoUajcBA/7uErysT528jE4B/dBc7+6A6G62ZlNJtfiBLhvIolA ZEKHKiYdUP/PYGNwTz3l65lZv0EUkWamiDj/S5FJADmDoGtsQt9b/58qaKvbVpYa+gEF 0dls9PkAUG9l+Cs/y4/qLPCu/zGhfNEDpXSiWAqnfWoA0xWo1Ga+9/KrNy2e5h534pFe 6+W8kAOLSIiu02zuM0IPGpsbVlN+Pb/YDN5/hP2TkHLJQl0w7fSsiGdgk/2VTaiNnF3Q BQWA== 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=QmSuu+sVDHvVzQ8t6JTrvtuWCq+rFrnDrsz3M4+CRUA=; b=A+hJR4XX2SmV+ra7Kc/qL/zNda/OFIjlKMhGkscIK61D46L5Vu64LwoSpsO3eCLfk/ 4xLPM3OPgKtF5G4DcUibRc2QpFKxPeMbd4P9EyDfpasdf8ZPiNfFf7cY+uyhoP6rZezu PGxDOWwO4HKbiXhP1vUMCTYPeTXppbLf8U2J56Me815+U2piDyE/FbvhHOrjVhZU5Kuz tQrZj675Y8u9AMUBqOXX4Zyloj857KjitEyK2KqjQQOPDZO0E6hCz/rEEAhsoD/9FOc8 jkU1uS9KzJXlBV81Ml8PzrdDVoVnB4sgGjXrk2VrzL5oHaH+eKeoDiG3D/I171/g//8E 9T/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=hEJFVXCV; 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 c10si9967356pfi.143.2021.01.08.12.15.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:48 -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=hEJFVXCV; 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 4E26E6E8E5; Fri, 8 Jan 2021 20:15:43 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by gabe.freedesktop.org (Postfix) with ESMTPS id 9B8F66E8DB for ; Fri, 8 Jan 2021 20:15:39 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id t16so10168842wra.3 for ; Fri, 08 Jan 2021 12:15: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=J9hwKoCUKPkAVEJG7PdvhZlNWecZ9XZq8Q6EZdE3uyc=; b=hEJFVXCVtwgK4Ggr5Yq+CnblBWyx906VjOGVxfnc2I9GwMfjxBlYdIufR3N0PgPmBh XzeWu1y/95DEw+MOBpoPJmeUkjIhV59SsQ5YxzenvG+XvqtqIm9DYK5uwVwZrkNxwvaZ NKLeliZDCZwVeb+sL1YknAuu5Yl58Xur2WNTqAvK9qCl2Ah4T8B89/oNpVFMdiFAjujM 4NYnKhCsW75iuMfCwW+XALsrF5a2GYVf8fileLh0IXeaofih5iiHhDxa4h9uis5rYEc1 yloX+0Z9EgB6LqnVve8JF5u9cDXP/Ol28Ax5Xno8C5kNyHSO2N0AzqVZPpSBsMxQ7sGQ 1YdQ== 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=J9hwKoCUKPkAVEJG7PdvhZlNWecZ9XZq8Q6EZdE3uyc=; b=spEle6EJlbzdDxfGdjqBh6ozArJCUBV2F4WMK4HNtRwXJIQyqoKo47+mRqeFcXEo0d txRrzKxiMdW+7zF36qdd6JmjzZYA7PHSa98dzJ7vOGWShUOahgioMZseKJzXXzvsEuhv nCni4dsmuuTJU1/WviVobQ7Pm9YLth3FwynC/MBUs6M9DmY5KHTgAwlS/GMQpeASqIyu dx+/pYGrBLwnxYAN7JcQIpqa7VQaGK28GomY5cRr8/wpxK/4n/wfi1PjkcZI2Fw8OQgm kV7eMBWTzUgW52333K8VhPNZ1/mUbDxmIh0QCFyFWNXkSQligx9GSmoP/VvPi2QiBPLF AzeQ== X-Gm-Message-State: AOAM53039vvSBgdhcj1YPE19s6wvN5cjCMVLeIgJbl7Sgyqv00g4OVP2 dDLtuEGqGoENf5cqOuGfZAqnXA== X-Received: by 2002:adf:dec7:: with SMTP id i7mr5279212wrn.373.1610136938211; Fri, 08 Jan 2021 12:15:38 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:37 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 23/40] drm/amd/display/dc/dce/dce_audio: Make function invoked by reference static Date: Fri, 8 Jan 2021 20:14:40 +0000 Message-Id: <20210108201457.3078600-24-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210108201457.3078600-1-lee.jones@linaro.org> References: <20210108201457.3078600-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: Charlene Liu , Leo Li , Mauro Rossi , 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/dce/dce_audio.c:871:6: warning: no previous prototype for ‘dce60_aud_wall_dto_setup’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Mauro Rossi Cc: Charlene Liu Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce/dce_audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c index 2a2a0fdb92539..7866cf2a668fa 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_audio.c @@ -868,7 +868,7 @@ void dce_aud_wall_dto_setup( } #if defined(CONFIG_DRM_AMD_DC_SI) -void dce60_aud_wall_dto_setup( +static void dce60_aud_wall_dto_setup( struct audio *audio, enum signal_type signal, const struct audio_crtc_info *crtc_info,