From patchwork Mon Jan 11 19:19:21 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 360574 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp3141194jai; Mon, 11 Jan 2021 11:22:28 -0800 (PST) X-Google-Smtp-Source: ABdhPJzg3+jkPgEzJ5kmhfbgpsq1wuOzd0MaEd3yusmAAJ8VU/0zjTgJm0s6emG3G6rM6xle6LSN X-Received: by 2002:a17:902:9341:b029:dc:102f:c36c with SMTP id g1-20020a1709029341b02900dc102fc36cmr1208343plp.61.1610392838455; Mon, 11 Jan 2021 11:20:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610392838; cv=none; d=google.com; s=arc-20160816; b=UQJuaSbX6f6EoOA00VKIGGETH19kQ8R6deBEk/qfLdIhkSHo8uwKaWz+4VlicobjMb EE31E4bV1sBT3Dzkh3cduMXlrTsUmxZPnB3GAZaM8GGjO3LPVFYIxMlJF2603CXfkdhp Hmbl2EgwpVvn+wK/C4yJd5mikOShtlkqnOMwhM+Lz7vy+IKZIYaGyg68UNpYjGgsud5v +lAvOW3GQpYidRaJBg+rGAhBbEruQelzG1kpBmAjzAce6GE/4VC+BeqQeS+AFvFFJe+x S4QMHjWt3A8bh3fG0zdYX7RMfdyc8wzxdP7+3zFHyWEVa7GeVCiH947Zzejtbsw5Ib/O w0fA== 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=HA6ZONiHUxVeGuXXDimKjEPoR4icboSoyUGK/y2144A=; b=Uk06e+jEMdijTRZqsSgLwQE2CSHctmO/69UtcNadNZGgNtIhGKRz+ulnA5KPPnnlz5 hoTezDzAs3yRHOcJxc0wowNRhKFLp2BL7rGbA1HVD3bVDe7RCysqVPQuDrZgCPWw/W8a N6mhZoeF8UMOJ2EoSJ+PQYeNAXxtJRLnPON/r9u5TdW8k8ZJNBCdPp40t4f0zrgssex4 zREXSpqJzPaqlizPtMRg2fz3bD8Kmvh49NeLr8EPUdhM9uSbfpr0RbKg9eAsvr6WlV8v 0YHm2HXZby4voayyeWIRdGa9iKkbHa62JoUdpZ22BrnNHv7bkkXYfGc4zF5HuqphtxiS 9klQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zMzZ4xE5; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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. [131.252.210.177]) by mx.google.com with ESMTPS id r14si537927pls.368.2021.01.11.11.20.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:20:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=zMzZ4xE5; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 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 ADF6689F73; Mon, 11 Jan 2021 19:20:21 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5311B89FDE for ; Mon, 11 Jan 2021 19:20:17 +0000 (UTC) Received: by mail-wr1-x42b.google.com with SMTP id 91so924378wrj.7 for ; Mon, 11 Jan 2021 11:20:17 -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=BIbmEvfzHXehTUhCMEmMZrSzDyf/FShSUv7k6W8xO0I=; b=zMzZ4xE5NKZ9zZzeixi0EshIlbVM+Oqc0rHAXlxuiA9B1gxQh79nQVjQEYiHwQn18H TcgstRKaBJCcs24Vnyg12yQBMOqOiXw+LDrjMF/1a1ovufxRBx4X0bVRwKrdtog/+Wej 2vADHgeCtfaD2aqGnfDnm9yDyUyhN7YuBF2lFtel/9aXRCptMNSoSYHmkPtHUtlotPWJ gPchL821+gq/eH/44RW1MySEpowk94XjDdOQFpFL8fjtHXIscERdaIlPNpnMEXCHE4gc bIrv9WhxJF9movrz1mrhKWYmj74JkSx5LUGUR+oVb/CNTDkZX+xS3gwb+fcPeIqVfWvC JmGw== 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=BIbmEvfzHXehTUhCMEmMZrSzDyf/FShSUv7k6W8xO0I=; b=eJ4spSa0JZNyeZvwbl8TM+l2noQM2eLftj79STopKaon9aoM0tLQIJ/qVKv0/eJUu3 fCdQEN54AK5NlZUnG1jtvjhdc8mmASpBZ9/h5XdNybeNOLV5cyR0CLFHSE2RbjCLI71i HSvMnOtT5SeJ0+1Ax+C7GkjArDisMyfXruV8vUqp1E3WmJz44KNf6+1YBH7zkzOT7Bem 6LJw8BnaOJnlXsk39odVFi40gHV5/j/sR2+xlqRYISGUWLUIQpkqmIxBDsBT/xMnNP4K /Lmn2i1jw1tNLOpVnu69QHhdNVwm61sm7a8GBzmJW+JtmpAV2HawwGmZ6BnmsG96RDjt h8Xg== X-Gm-Message-State: AOAM533jYfMGDAYhQ7XV8JK75Bdwlo/w1P1g3U0CSph2v1eOtA0jnw/+ PlQ0RVwYYCRg0OJ3M23SlsZz0g== X-Received: by 2002:adf:8185:: with SMTP id 5mr615286wra.44.1610392816068; Mon, 11 Jan 2021 11:20:16 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id n3sm778090wrw.61.2021.01.11.11.20.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:20:15 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 35/40] drm/amd/display/dc/dce60/dce60_timing_generator: Make 'dce60_configure_crc' invoked by reference static Date: Mon, 11 Jan 2021 19:19:21 +0000 Message-Id: <20210111191926.3688443-36-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 , 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/dce60/dce60_timing_generator.c:192:6: warning: no previous prototype for ‘dce60_configure_crc’ [-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: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dce60/dce60_timing_generator.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce60/dce60_timing_generator.c b/drivers/gpu/drm/amd/display/dc/dce60/dce60_timing_generator.c index fc1af0ff0ca4c..c1a85ee374d9d 100644 --- a/drivers/gpu/drm/amd/display/dc/dce60/dce60_timing_generator.c +++ b/drivers/gpu/drm/amd/display/dc/dce60/dce60_timing_generator.c @@ -189,8 +189,8 @@ static bool dce60_is_tg_enabled(struct timing_generator *tg) return field == 1; } -bool dce60_configure_crc(struct timing_generator *tg, - const struct crc_params *params) +static bool dce60_configure_crc(struct timing_generator *tg, + const struct crc_params *params) { /* Cannot configure crc on a CRTC that is disabled */ if (!dce60_is_tg_enabled(tg))