Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp556645pxu; Thu, 26 Nov 2020 05:46:48 -0800 (PST) X-Google-Smtp-Source: ABdhPJz2bz5WLoy7Ki1rxFeuEw2IRD9hm3PggWgS38EMLMDys9HxmR0/ODDLdk9vBvSswnzAm2Rl X-Received: by 2002:a05:6402:1c96:: with SMTP id cy22mr2544558edb.339.1606398408164; Thu, 26 Nov 2020 05:46:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606398408; cv=none; d=google.com; s=arc-20160816; b=irClQQ0KVeFWRJYUCMw1d0FPjYakxNtmQYaPZTcmt3AWgsw7QwEAeEc5/La3Hbb9xM jMtLcLD+kg3Q0NsB2Zp8YeW5bUN2HJDu8MXDCSNDsWN6R5/LSKhG3IBk99i1pKLKj3pz BrGqqjXcTldivXi7Sqz1/8oG8jYxwm9ZEdQjq+VsH+TJUhWwjdSBTpQJMV7WvuGSQ/hf 92hWM0hgokqWafgItqMMCaHlcpBCJuommLZiw+Na3mouOIcSr41tokkQHA7Bh4fN3y6Q /TxEnCf4HzfZnfC9oUYcXjQR7mgxBKd/QN8dlYdSU293J2JgaMOo5LZafC0Bnax+uT7d EdtA== 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=AsUlZcyK9oDSYfP7aoF4k5mpqGBHBlqjcNJ6DNrVjtQ=; b=fqX7ZJ6d9jnv0xjL6NMJmewxZlYwcacR+Iqptv6LaGSg5l5YryOAkStkdS2Jh7JQ8b 3zToPnE4EkyXCFCQZDEc1J31zCAjjG5qcaHbznJ0uWCa+3No8YKAoevjQqj3er+Y95UN WUTbGhNvMYz2wGdAeynX1iAmY5tqbKqbb2veYg41zNVvONZS1A87W4XyymXcZyE1DsJV CcYrrxL1BvEShTzgNz35Pmhc/oX5FtjT5f0jEJl9xa3QHCl/EzAzFgQeW7C3VgGSOgL0 XORo/c4HQsU7LVToApn4Qy4Dw+miw6NYDaPW9guznP0OY5VM2pXwq7Otb+81xbbbFMPE mZxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lhUckZuA; 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 pw16si2992631ejb.430.2020.11.26.05.46.25; Thu, 26 Nov 2020 05:46:48 -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=lhUckZuA; 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 S2390438AbgKZNnW (ORCPT + 99 others); Thu, 26 Nov 2020 08:43:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390127AbgKZNnS (ORCPT ); Thu, 26 Nov 2020 08:43:18 -0500 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 587B8C0613D4 for ; Thu, 26 Nov 2020 05:43:17 -0800 (PST) Received: by mail-wr1-x442.google.com with SMTP id e7so2196799wrv.6 for ; Thu, 26 Nov 2020 05:43: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=AsUlZcyK9oDSYfP7aoF4k5mpqGBHBlqjcNJ6DNrVjtQ=; b=lhUckZuAchBUkEww102CZlmtg7ZDdRdMNObIae7NG11Fh5nIJxysDWj0BqvK17jNrv DYy9m2oKxLW1Fq9PTcR5kfARz1z3tXycyJMK46eHeePCtKMEJdUbSKlzu3XJKBjMoamf bUapKZWnMGvaSmW4aL1UA1kIJ8L4S5q7Fm7VncMBM9HnlN1Gmav9EOfrSNVvvzuHvQ2C DPvybRAuRRbvvUpsEE3Tamu47wGUBrepeNVKTlG5HmVSEq2RQjcpMlHgWTyVCaO12V6z 9nOgkzjVza7g9eOwLNv+D5f8ynNDWyWQG+zybg+6hM10t67YMnenfQDPa9zA3swElhzT kBFA== 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=AsUlZcyK9oDSYfP7aoF4k5mpqGBHBlqjcNJ6DNrVjtQ=; b=M5uxJ3DfMC0pkGYF4hGy8od1kYlfs+jl58EQIijcHViEfhChcKA1jRYMGQoXmbD170 l6N991YmG+Krg5Tinr/Xjd/2Fe0Db5Ozwd8jPTRe57QabUOkAkbgQWeuKWG7mQi1q2DL dqZRfyIOQn8hzPGZESr4PZNQF3UtO2NchMgP/KxHN3fUt0278tDIFoxU4PzMopP17kdF xtkapgcqc222OhierHdBxZgHl6OccfHlAKnuImLMG3kQL8T3rEvZ6ainacSMTKjl2luZ Ux2Bbl8Oju67RAbQA983OIO9PyDg78Ur4Q7Esij9oyPPhMpltvbY8b9fYhcPwjHiZOD0 n5+g== X-Gm-Message-State: AOAM533t24Rix4sRL/o34+j1rEAlyDy+FHpCHtw064fhuNniKxCJHUm1 A6XagIAfyN51WwbJkOSL96iisQ== X-Received: by 2002:a5d:4408:: with SMTP id z8mr4113531wrq.204.1606398196124; Thu, 26 Nov 2020 05:43:16 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id k205sm9275738wmk.4.2020.11.26.05.43.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:43:15 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Evan Quan , Alex Deucher , =?UTF-8?q?Christian=20K=C3=B6nig?= , David Airlie , Daniel Vetter , "Gustavo A. R. Silva" , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org Subject: [PATCH 20/40] drm/amd/pm/powerplay/hwmgr/vega10_processpptables: Make function invoked by reference static Date: Thu, 26 Nov 2020 13:42:20 +0000 Message-Id: <20201126134240.3214176-21-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126134240.3214176-1-lee.jones@linaro.org> References: <20201126134240.3214176-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/powerplay/hwmgr/vega10_processpptables.c:1148:5: warning: no previous prototype for ‘vega10_pp_tables_initialize’ [-Wmissing-prototypes] Cc: Evan Quan Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: "Gustavo A. R. Silva" Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c index 535404de78a20..95b988823f50f 100644 --- a/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c +++ b/drivers/gpu/drm/amd/pm/powerplay/hwmgr/vega10_processpptables.c @@ -1145,7 +1145,7 @@ static int init_dpm_2_parameters( return result; } -int vega10_pp_tables_initialize(struct pp_hwmgr *hwmgr) +static int vega10_pp_tables_initialize(struct pp_hwmgr *hwmgr) { int result = 0; const ATOM_Vega10_POWERPLAYTABLE *powerplay_table; -- 2.25.1