Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp7510402rwn; Tue, 13 Sep 2022 23:05:25 -0700 (PDT) X-Google-Smtp-Source: AA6agR5fUKfNexGNMvmcRDdJcJK8IKYQHVISikx0HhU/K0wcC022+ZLVkbjkT/IiqkxOAr1FsOzb X-Received: by 2002:a17:902:8d8a:b0:16f:21fb:b97a with SMTP id v10-20020a1709028d8a00b0016f21fbb97amr34795067plo.160.1663135524905; Tue, 13 Sep 2022 23:05:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663135524; cv=none; d=google.com; s=arc-20160816; b=XAt1aecDa3CHeWd6o0eMMggcSCm1U2EtDYfBkQirHQpIwI6z5F/4iJDm6IXKZH0yGq 1e7jFDvDOVt353Gfzyxo3FpIawcPPSPFScD4Bt7toFnNXcxyDAOKp9CRrYIZgR7d1D9Y bmbVE9FsR1Ywo0/LHhb7v+o0lzEQrhrntiVwRU0QZfM0A3Y74T3s7rKhh5kBFlSvPxDj 28CNJjWqqz6LtflB9ZIvm2soCizokDOZkxd9JYpVwtK6AiymKjEEqVprSqA01nbbi+8s p3ld7JMxJuGZoZc2EN5s2j6MCTKKJx5h4zSAAdNdpJMKFJvrgUoMs6x8AMURdat55A4f lreA== 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; bh=vzqQswp1hlAo4MpGbSKBUTcQ0V+YW8Qq6SJEa18EbkI=; b=TfQYvQChIrbWlYaa2YRt7fEaqKXK249B0twtN0Jln9o88hNiri8v8S8kwEHVFv5cxP A2mq98+ksNKMEWw+tQne8ol12aJJze8vR2IJXXkcQ7LTTV1uHQR18vCw64OYrgikPvW/ 7848Rigawud1C7lCE3sYdhIVoakLo/QRy83UxzR4zNHXKbqFuVN4rh7z1v3NeHySbpsg fnmq8bOglXDKc5PwUmWlw1WvJ1kWDTo/Mvr9j6QVNfcIhTwZwfEmx7oNYxCrWy3giQ0Q 1wqia8lfikNi8Z7aPz4fp4p6ibhLJPU73vdWx7NSw5M6GxlYOWuNmSHItbVH8UBUn9qI Uyhg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ca12-20020a056a00418c00b0053b553aba8dsi12346312pfb.278.2022.09.13.23.05.12; Tue, 13 Sep 2022 23:05:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229826AbiINF2J (ORCPT + 99 others); Wed, 14 Sep 2022 01:28:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51274 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229812AbiINF2G (ORCPT ); Wed, 14 Sep 2022 01:28:06 -0400 Received: from out30-133.freemail.mail.aliyun.com (out30-133.freemail.mail.aliyun.com [115.124.30.133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25FF66BD5E for ; Tue, 13 Sep 2022 22:28:03 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045192;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=10;SR=0;TI=SMTPD_---0VPlk9HG_1663133278; Received: from localhost(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0VPlk9HG_1663133278) by smtp.aliyun-inc.com; Wed, 14 Sep 2022 13:28:01 +0800 From: Jiapeng Chong To: alexander.deucher@amd.com Cc: christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Jiapeng Chong , Abaci Robot Subject: [PATCH 3/8] drm/amd/display: make optc314_phantom_crtc_post_enable static Date: Wed, 14 Sep 2022 13:27:37 +0800 Message-Id: <20220914052742.116297-3-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 2.20.1.7.g153144c In-Reply-To: <20220914052742.116297-1-jiapeng.chong@linux.alibaba.com> References: <20220914052742.116297-1-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.9 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This symbol is not used outside of dcn314_optc.c, so marks it static. drivers/gpu/drm/amd/amdgpu/../display/dc/dcn314/dcn314_optc.c:153:6: warning: no previous prototype for ‘optc314_phantom_crtc_post_enable’. Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2147 Reported-by: Abaci Robot Signed-off-by: Jiapeng Chong --- drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c index 38aa28ec6b13..47eb162f1a75 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c +++ b/drivers/gpu/drm/amd/display/dc/dcn314/dcn314_optc.c @@ -150,7 +150,7 @@ static bool optc314_disable_crtc(struct timing_generator *optc) return true; } -void optc314_phantom_crtc_post_enable(struct timing_generator *optc) +static void optc314_phantom_crtc_post_enable(struct timing_generator *optc) { struct optc *optc1 = DCN10TG_FROM_TG(optc); -- 2.20.1.7.g153144c