From patchwork Fri Jan 8 20:14:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 359043 Delivered-To: patch@linaro.org Received: by 2002:a02:85a7:0:0:0:0:0 with SMTP id d36csp855764jai; Fri, 8 Jan 2021 12:15:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJyAkYU+aFcoBAHTviTTnxMkne7PQTwC09v26P2pvppYjlgfInLienSuR99VdKqlS2Fv1Fh/ X-Received: by 2002:a17:90a:5513:: with SMTP id b19mr5542322pji.99.1610136939076; Fri, 08 Jan 2021 12:15:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610136939; cv=none; d=google.com; s=arc-20160816; b=hkF03yAGCUMpK0vnyp/VdSGBj9yVe6IfyAs4ILwninbQ6v0Oqn0olvU3WqjGb25g2g Kt1w7m6VDH7EMKW2lSSkil8VO7YRac6m1+YX0gAhIf60iLKVIhV2gdjSQsW0xNKq9uW7 M5UbEw0IoBhetpQsnyqvZPsePHwef+puhFJ1F2Vh9Gy7VIh6e6nVrOq7MXZBTnkKaitc 06gKscmsrXTQTglD2xnSWFsX8iSlcoEGvd5bVmjmWNuAd92Cj3vBylZCvchphAtpwq1R G2HrEFvDkISkNjY5mNXgLtbPP+At9zeop2l8Yv6N75V1PRfjoHwdPn/Hm70PA3jp2Qdm kvog== 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=dHcz+7yilTo+CaXHYQ6B0oCqQsq06A34HOw+EFP9hiQ=; b=XzCDOGqM7J+uCxrTOmRIXWXD68p0yyzTPLtbfSTfFFusv2jGTHCpS0LRgO0CeE8lek 2KlvicWsGy9YpNhMRQm0jZE4yyrApgv1FiKvvDNdTDZFGsJNH20PxcXoFFlgO4jK1SLE UAGwq+fk1xtQ2p3B8DgBgt5cpkLcx6eqCkTwJ4K4jFzmyA24IEeYTxN7mSaJR/HF2He8 jIZpz35bx6Ep0DoNwqx1Ng6yi8nQQgYfsjqP8z2tGoh0kPXwQfSpQcF2gWBkd/c9V0Kl VLI1kAS9vNrLM1OCHydzi6r7xEa7PeScR1pq3/eS5TFJNA08wj5EnCjx4iU6uEU3sIxw hySA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=UjObcNpL; 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 lt7si10409646pjb.139.2021.01.08.12.15.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:39 -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=UjObcNpL; 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 5E06A6E8D9; Fri, 8 Jan 2021 20:15:33 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) by gabe.freedesktop.org (Postfix) with ESMTPS id CEEA86E8D5 for ; Fri, 8 Jan 2021 20:15:30 +0000 (UTC) Received: by mail-wm1-x336.google.com with SMTP id a6so8731801wmc.2 for ; Fri, 08 Jan 2021 12:15:30 -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=w+rKqjsgsMRrWlbR0mS6qqZSklymAWueG82I2hOJ6Ds=; b=UjObcNpLmHgcVOeAiK1W8DH7qr/VTvKYYZvqwqgnSssxmyVRRzsJZmTvoKlwdQs01J NH7S9Mex2LrJ2/AaEUzm3rNqG8I12C/Xpj1PsvDO1wyi8oGualF6qkSrVPunrDULTTom xWhM/2mwjk08/4+J6spoCMxRTl9G0Gw/r0h4588xd8hz4X9VkBA/dx45Yd8tNUUewq6e zPICIlZTExobP1md8Ivtbr/c55KpzqTHL5gUtGhOv3CbcwSOfFoXTfvsHz6wLvTGD+4T 4JJku0UmibFovBql4Ll+pwP24pQJS2iS/Ra4slhfru8dhDevYzSAhuUjzHo1VmJinivG 6x0w== 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=w+rKqjsgsMRrWlbR0mS6qqZSklymAWueG82I2hOJ6Ds=; b=OtjHu0q8qrs0xPu1BQme4j5RR7y3wydamfaLv7q9L5ynC8P5mHDQA9ga2p6rGmb8oL gAzRjSPyo+8wzWGz5t+kivlrCPd6NMf0ii1tX/StzEHi9ym+HPlJgSPqFm3mJqKHTQLk IH0tKrL75BknjBRfCurNiN4Gr7BQU7P1lDBVxQUpr/pQpsZwoqAD4Pul1+X1otsbrrzB gEvzDLpSKvbyvWDYlHsc6FJSbP9++NKBCvpIXbUJJDyX62lDaq84/nsI7mW03i7sl6i5 m7u8Oa1zIU7LVExrDk6hZhFsm22CNIbN+jrluFLZwod7LnJx7rpn8yNbxL2WWEQnL0Id gPHA== X-Gm-Message-State: AOAM533YLwP807Av2jtqf6rhJi9hBYDpgjEATeDOIs4En4gZ2RlYqOiI FNQkmtW1seQBjy2tHLuf9sekaA== X-Received: by 2002:a1c:7218:: with SMTP id n24mr4508553wmc.186.1610136929497; Fri, 08 Jan 2021 12:15:29 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:28 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/40] drm/amd/display/dc/bios/bios_parser: Make local functions static Date: Fri, 8 Jan 2021 20:14:34 +0000 Message-Id: <20210108201457.3078600-18-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: Leo Li , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Igor Kravchenko , 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/bios/bios_parser.c:2588:16: warning: no previous prototype for ‘update_slot_layout_info’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/bios/bios_parser.c:2692:16: warning: no previous prototype for ‘get_bracket_layout_record’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Igor Kravchenko Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/bios/bios_parser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c index 23a373ca94b5c..f054c5872c619 100644 --- a/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c +++ b/drivers/gpu/drm/amd/display/dc/bios/bios_parser.c @@ -2585,7 +2585,7 @@ static struct integrated_info *bios_parser_create_integrated_info( return NULL; } -enum bp_result update_slot_layout_info( +static enum bp_result update_slot_layout_info( struct dc_bios *dcb, unsigned int i, struct slot_layout_info *slot_layout_info, @@ -2689,7 +2689,7 @@ enum bp_result update_slot_layout_info( } -enum bp_result get_bracket_layout_record( +static enum bp_result get_bracket_layout_record( struct dc_bios *dcb, unsigned int bracket_layout_id, struct slot_layout_info *slot_layout_info)