From patchwork Thu Nov 26 13:42:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 332994 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp155985ejs; Thu, 26 Nov 2020 05:43:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJwHRp1Tbtq3MfocIz5LlrD/VujCvcndq2tNZgL0W3wZ9kUs1SP8qopA9fMSfM4/QRwipBpG X-Received: by 2002:a17:902:778f:b029:da:2f5:ed6e with SMTP id o15-20020a170902778fb02900da02f5ed6emr2810437pll.52.1606398215383; Thu, 26 Nov 2020 05:43:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606398215; cv=none; d=google.com; s=arc-20160816; b=jBlmrXPGuniHUuIhOiWkEI+tGRTbzUpycF8SJ49L33kOg90pccpJpWCkLs7VVeUsNr 51qEFfw1vpjIKcoVo7JZ7WZr8GEBeQ0dpv6R49Bj7ld4b6JxvF8/NYaJ2cUBS2glEnhi dNYbJljvtx4f7Xk6AgUYVvQSbhk23YsD8rXHKzkwfLmTqwI+9l8t9InRBk1KrAsZj2NZ UBshjCPAyFdsLHEJcwurcsXjbpGW+S/JhMfNbmv3DQSIUNdTEuTxxgKO3MduIKnrp3zl c2G7yPz+q3jO4e8hn8qR/ln3/Dd5j51f5lh0QhME5jhFv69XqZ7zScY12gZkBpQ/5mQM ++EA== 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=Npt+VSjjBGQnQ9ArbDm68Fe7U+kNL5lbpVZmbdl8DUk=; b=iW952QaMvhmpYFFLDxFOgE8QyZmoeyUEWNRwQOgR9TSxyLHvgGyxnMP1vu1+yoZ8Zd 91/zLqULWIN4FPbG+o2V5dQgJEUDQ8yVjaC2Q9l3L6iy1RpqJ8KV+7X65z43cI6HkIha JHhEqd0SUsnj/pMbaaxq8xijxso4wcKV8cyF0J6A20+eliJHcze/Q7buCVt6SWm3rfcb WN4TtnTQyEV/pzhGxhgqAJeKIHP7+j8Uxxo18LzSQ+HFEZX7cVGrMuLEbFaQpJapTZ1q dpDfHmBADD818HeNBN9bHaTS23GoffxorkxweUVKx97Fl3zJIZaaa9ev1CpWdnqoMbhZ q2mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=lhUckZuA; 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 az5si5468434plb.325.2020.11.26.05.43.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:43:35 -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=lhUckZuA; 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 422EC6E988; Thu, 26 Nov 2020 13:43:20 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id 63CF66E95D for ; Thu, 26 Nov 2020 13:43:17 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id u12so2219834wrt.0 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=Xq4W5mFP09UKTKIvnj2wqXhYFWRO0GlRiwcCgmEt4UblVjjGt3cYg0q7GsAR4eOLps mctB7Gdaviz+eah7rKXzadWftQcJ8k5EBHL6lOlvuZ5WAhGKATSsvdT0K1HqLpFvc5LL bHHZRYRdGqQA0CbbevvvdGETuRVO2+sEDMGerZ4B3edWq95k3ZpopO3GwXFSuDnG7wME U5Sz8fUH2jpHPQuvN6cFvciv9XtX3msQP7zCYAGhZya7h+PlALj/CtW7s9mkgjN87HHx XZfctR5yjR8ZlX0mn1wYNscjSF5ak6p+4B9DWfT5Q5G6RAk6Ni6SRJ8CXPeMVVVZBWJe IpTg== X-Gm-Message-State: AOAM533GrvsRQQrbFEsr6/+O1S7XyFJtmAJ3awGounrcoZaBFyhqvOQ/ RNvBSd9nEJ6mg1jdx1xC9YN6Ag== 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 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 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, "Gustavo A. R. Silva" , dri-devel@lists.freedesktop.org, Alex Deucher , Evan Quan , =?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/../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;