Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2508461pxb; Mon, 11 Jan 2021 11:25:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJwch2HiEjtNOD9gSNiON4OMXZZhW6jK/B6ZUOQ1SVzxAlweqMj8Dxg6IN5XR+sd/vcYjYn6 X-Received: by 2002:a17:906:5f92:: with SMTP id a18mr720000eju.126.1610393110044; Mon, 11 Jan 2021 11:25:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610393110; cv=none; d=google.com; s=arc-20160816; b=cRaIZHt1cSLt5BncPTDvTg1CUd2KsxeSXbmtGz/qtHL9YBIifnm+bmvPEEwt6JolCP S0G7QXTPQYbUD3Lx7iwjlKSQNRbtdpNstQmwAfDib2o0RIKK+aAN9rF5nvnZizvIybOC fu6ZF6Dqdu57QhNHAiZXIpeAuzwsTVNc75zuzJrzQxg/qZi0LdqvtF9XvtYByfPRl5t1 7nmL0Sg3SQqaYkVeOuXckwB8gKZemuJXqc3bNq8QqS5vR6LXZ/4MZ5CpnGLovvZ/4aer GR4r8InNhvh+95fqgAPKEQXYGj3bT+noVnZQudsUx6DPTeHMv0/wHLGmkyKp6hem8LFP fQzQ== 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=JOyt7JjenC3JxqplAWuaS0Peh67vONfoPebrIaqCVaU=; b=awS3fZvkP38OSkbwrlwgeERKNg/SudQWktjP5KyV2523Ex2EBve6JVXSakPDoHWJQT mDbTugTFiJz0uiXmjMpxSroZFw/x4gLh4IMKr8Phx7zMEKMpb7nzhsm9C13PyWaIugyT JQ4NQ5fpCFrMY7BqiScHSeEQWqpr4+jvGcurq+G6/+gJlRSkA7kFcfcUMFgeb4VfJs5o 30QMTEY6oB17AtnR0ZlFzucSLA2hW5DdHHauhe4gkrGUbLZzAhEFaZbgk22ecxTFgfG/ SNGZ1Nl8NXlgiUZRTNnVUW+Ay77/UBq4c6gk6P6K18vuoMpxDYZYC+phN3Rf1TF3jLmV /zbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ury54x86; 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 ga12si129581ejb.522.2021.01.11.11.24.46; Mon, 11 Jan 2021 11:25:10 -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=Ury54x86; 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 S2391021AbhAKTVL (ORCPT + 99 others); Mon, 11 Jan 2021 14:21:11 -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 S2390980AbhAKTVI (ORCPT ); Mon, 11 Jan 2021 14:21:08 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F2E0CC061385 for ; Mon, 11 Jan 2021 11:20:02 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id m5so904658wrx.9 for ; Mon, 11 Jan 2021 11:20:02 -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=JOyt7JjenC3JxqplAWuaS0Peh67vONfoPebrIaqCVaU=; b=Ury54x86y0TSuDIGEgMyFRNXMi6mvZtZR8AiUGxf02KEg/Qk4G3safKG2e0UTeBkIf tXip/SBGN84y+PtcTOPecltGCNZgttFwjF/gJbhObDFirf9Rqw5bR2AZz2ksZyf7kKSV LOuPcaEwhtYXNt4q2+3WDkeqpt+utoKpIqA4jdW/+BWP8EB2d8igUF5Z2/7UrsUNR5hh /tcnM7v8bdlDCDCDVJrfqd2kAe+tUzeDZD6FNYloXHdK4JKthUYZmTKZMdDF8UYC7/4j hY7uoKS6mYPQAXl5PsZs99OkmqMqhPfDsh3LFCkrpi2U+fz6ruKWyc1c0iZgHthVYQAB O34g== 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=JOyt7JjenC3JxqplAWuaS0Peh67vONfoPebrIaqCVaU=; b=dP64i26FbyBbNzT+i7DH2JzaGmdzxyd9QdbdJAjHc3/LCg/USwbcyY62m7QNdKduxL hncY80yFH4FgRMj6lO0wO4qDkKUTLt/Btqpn7qpcKd74KSHZT1i7ugbtKtEyEgOHBFuF h5ssWjc5Wb1+aS8yYkvClUwecdFx2UEjag9ls3ksaWVEZuwrs3gg6FKCrpS1BrEcVjt3 MkOBp+zUwCcc5nSQ3vzSUnpXkO4+EcwMzW6bCGjVvVYKAXn7lUZ3ZwOOTwpFyqpIkCUx Xf5EIgphV5jFOQwFHbXlwYcE9TiYdZMlZjkecCpSQXwfkpWTb8AQ8Ljaj6ryQtwVBjgZ EWSw== X-Gm-Message-State: AOAM530ak85BI4g0qMDtmlpYrEAyG4PIkpdGHaOZOUJ0HnBLqWQTjaOC vrNAjFvO/DWFuvHSpWhI+ghaIA== X-Received: by 2002:adf:82c8:: with SMTP id 66mr592128wrc.420.1610392801743; Mon, 11 Jan 2021 11:20:01 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id n3sm778090wrw.61.2021.01.11.11.20.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 11:20:01 -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 , Xiaojian Du , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 24/40] drm/amd/pm/swsmu/smu11/vangogh_ppt: Make local function 'vangogh_clk_dpm_is_enabled' static Date: Mon, 11 Jan 2021 19:19:10 +0000 Message-Id: <20210111191926.3688443-25-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/../pm/swsmu/smu11/vangogh_ppt.c:613:6: warning: no previous prototype for ‘vangogh_clk_dpm_is_enabled’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Xiaojian Du Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c index 75ddcadf3802a..37bd4c647418d 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c @@ -610,8 +610,8 @@ static int vangogh_get_profiling_clk_mask(struct smu_context *smu, return 0; } -bool vangogh_clk_dpm_is_enabled(struct smu_context *smu, - enum smu_clk_type clk_type) +static bool vangogh_clk_dpm_is_enabled(struct smu_context *smu, + enum smu_clk_type clk_type) { enum smu_feature_mask feature_id = 0; -- 2.25.1