From patchwork Fri Jan 8 20:14:42 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 12007487 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 47D90C433DB for ; Fri, 8 Jan 2021 20:15:50 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0FACE23AC0 for ; Fri, 8 Jan 2021 20:15:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0FACE23AC0 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 33D516E8E4; Fri, 8 Jan 2021 20:15:46 +0000 (UTC) Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by gabe.freedesktop.org (Postfix) with ESMTPS id 7B7026E8DF for ; Fri, 8 Jan 2021 20:15:42 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id g185so9442006wmf.3 for ; Fri, 08 Jan 2021 12:15:42 -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=gUGfQYc+R1dSwJCy8EOZsDxk+j22XvGXIhAmHcCe5cw=; b=DWuALbOhM66Bs4VwVlyplT5ynHt8NzU3loaaZxKRM42BP/MjWrJmNNyXEDNQAWWUgJ AVVbyPb8jiDbNhUJkj4Gmsg7VzT3+WI261d/9SWtCnnkvlsZNNbXp0ehTrZASSv6Rrkv xiAVooMmLYM8rmb8ZwAnTu6rPmRD9O1kjkhFONkNcdyv22UeNWhpzZQJwZtq11T+Q/UR emEiXSKaK8tShQ2wut5xKFCiNJ+IKcYdMGxp3TkIsfzVueHbBGvpxrnmZ2nVdeC6X1vV dDC9x2dPQxojVJcxAbk2qGprHLHKrqdzLejDbibsn2hUTXEt+V5wuL2hydI5G1bhoXxX Oc7g== 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=gUGfQYc+R1dSwJCy8EOZsDxk+j22XvGXIhAmHcCe5cw=; b=ljJCZxP5V/EEwfVN4LmlrPwjwycXHngoV2OUhr1wAGs7ZpPdwYu1EIDkURqkI6AEn4 WogJuSqa81RceDi//+zE0Zs83/ezOwTwlcoST4R/vDafSm10qJy3cpq5NeM35sdWY3DK gQ2Aw8BDkwVDHPgXNcdjNcgO2fxbfrV2avCtEM8TZ8oR0G8bi5P01PXJeneery53qvH8 S2RnNBEV/pOSeYcYt8dBduOu0pX+fiy/VZ7KQcugjk/UBfUKYAFYrfcvAlnCUAVutzxl ItDVMuqrTBM0iy6vaGCksA8jNM71i3uurKdUj0tdX3O9PdfO7OoKnqYo/KL7PVFj62Rv W/Vw== X-Gm-Message-State: AOAM5306L0WMOK3Hhs2FhK/krrUXSP9GZT4n74f869HdVIoJGk7W12pe CEmYxAup2+EaEi5C+7VhCl1UTg== X-Google-Smtp-Source: ABdhPJwZWGT0SqzjU0ajhwspc3Sw3rWT8U3ETPx3G6MwoIvh2O6d6nInckJTXpUxvcYNu6v99GiJnA== X-Received: by 2002:a1c:9a57:: with SMTP id c84mr4347583wme.183.1610136941141; Fri, 08 Jan 2021 12:15:41 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id l8sm15598671wrb.73.2021.01.08.12.15.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jan 2021 12:15:40 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 25/40] drm/amd/display/dc/dce/dce_link_encoder: Make functions invoked by reference static Date: Fri, 8 Jan 2021 20:14:42 +0000 Message-Id: <20210108201457.3078600-26-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 , 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/dce/dce_link_encoder.c:1200:6: warning: no previous prototype for ‘dce60_link_encoder_enable_dp_output’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c:1239:6: warning: no previous prototype for ‘dce60_link_encoder_enable_dp_mst_output’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dce/dce_link_encoder.c:1429:6: warning: no previous prototype for ‘dce60_link_encoder_dp_set_phy_pattern’ [-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/dce/dce_link_encoder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c index 210466b2d8631..0ef2f4d9d8bf3 100644 --- a/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c +++ b/drivers/gpu/drm/amd/display/dc/dce/dce_link_encoder.c @@ -1197,7 +1197,7 @@ void dce110_link_encoder_enable_dp_mst_output( #if defined(CONFIG_DRM_AMD_DC_SI) /* enables DP PHY output */ -void dce60_link_encoder_enable_dp_output( +static void dce60_link_encoder_enable_dp_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) @@ -1236,7 +1236,7 @@ void dce60_link_encoder_enable_dp_output( } /* enables DP PHY output in MST mode */ -void dce60_link_encoder_enable_dp_mst_output( +static void dce60_link_encoder_enable_dp_mst_output( struct link_encoder *enc, const struct dc_link_settings *link_settings, enum clock_source_id clock_source) @@ -1426,7 +1426,7 @@ void dce110_link_encoder_dp_set_phy_pattern( #if defined(CONFIG_DRM_AMD_DC_SI) /* set DP PHY test and training patterns */ -void dce60_link_encoder_dp_set_phy_pattern( +static void dce60_link_encoder_dp_set_phy_pattern( struct link_encoder *enc, const struct encoder_set_dp_phy_pattern_param *param) {