Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4875295ybi; Tue, 30 Jul 2019 09:38:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqyLNGeP7SQIud7evUZn1a8Ck5r6wB+/3QUpdVS2F7sS+wJThyRUH4H0RDa5gtdcuxzfDprM X-Received: by 2002:a17:902:684f:: with SMTP id f15mr116382953pln.332.1564504707636; Tue, 30 Jul 2019 09:38:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564504707; cv=none; d=google.com; s=arc-20160816; b=RwI9zUewTb3ZSmV6hfLUpFicwfUm6n3kCLnEPXw65z4t5v9vl7F01A17uAoPTzP+ev WM8wpcRziMvL9XQwZ1K2ahUo/Y50iTLNrqJxt4xpyjR/tpxOs5q7Y5+xeGtsWkZy31Ks XcCCKiA9P58QqyTYH5b0XBlIq43bM2MeXVTWXvKJuIiRITxKF+9hXkPs5uP6zeezEfun sUpNs3cAoEIO0OTuWf6tZh720NbIcs5e87LaDH3zGViQVNq80I9110GV7emkO7XwkjAh iM/EDeV1SF0/LVoS2mrMsOqSYw1fVoOH3wL6/3dITPLA1BygZKGfxj17dwqtnYRdnPWA XwKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from; bh=E+zRA3Bhouo7lJH9DaOihEvKNpi+9c2GrX2PP8b75IE=; b=m+q2zt2anC6grTwZzooHQIuqyvdYuD+EpP/1yrLrKbdx49EnvVmRdoWdIJy0cwlnye Ys/LaevkxxCgsGMtA+GEFtHNaGHGvcSeAZ4kIcN9DljUdfklHAo/C8qT07+OizGFbILL Id0ZwCg4JF+UjN9uDHrzTKK50mRnR6rLkq0aTjPKnWL4aENJZW7BPx4DjJg8AQ43Rqvk /uZGYVtu+S7ydR0ZWhM1vl+Q2/GFQMt4SitQmtwRtuhg58GnsmC1JQPgBeWz9FUXDFZa LNAflAldsucBfANur32xa/o3PCXlibbOEWTTd8yZ4i3dtR6C6V7L2tYQusaRdG4lIoe4 mxhw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z191si29340452pgd.572.2019.07.30.09.38.06; Tue, 30 Jul 2019 09:38:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732031AbfG3PBm (ORCPT + 99 others); Tue, 30 Jul 2019 11:01:42 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:46054 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1730274AbfG3PBm (ORCPT ); Tue, 30 Jul 2019 11:01:42 -0400 Received: from DGGEMS403-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 5BCF0B6BBD93E861E398; Tue, 30 Jul 2019 23:01:39 +0800 (CST) Received: from localhost (10.133.213.239) by DGGEMS403-HUB.china.huawei.com (10.3.19.203) with Microsoft SMTP Server id 14.3.439.0; Tue, 30 Jul 2019 23:01:32 +0800 From: YueHaibing To: , , , , , , , , CC: , , YueHaibing Subject: [PATCH -next] drm/rockchip: Make analogix_dp_atomic_check static Date: Tue, 30 Jul 2019 23:00:57 +0800 Message-ID: <20190730150057.57388-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.133.213.239] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix sparse warning: drivers/gpu/drm/bridge/analogix/analogix_dp_core.c:1151:5: warning: symbol 'analogix_dp_atomic_check' was not declared. Should it be static? Reported-by: Hulk Robot Signed-off-by: YueHaibing --- drivers/gpu/drm/bridge/analogix/analogix_dp_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c index c82c7d5..f2f7f69 100644 --- a/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c +++ b/drivers/gpu/drm/bridge/analogix/analogix_dp_core.c @@ -1148,8 +1148,8 @@ analogix_dp_best_encoder(struct drm_connector *connector) } -int analogix_dp_atomic_check(struct drm_connector *connector, - struct drm_atomic_state *state) +static int analogix_dp_atomic_check(struct drm_connector *connector, + struct drm_atomic_state *state) { struct analogix_dp_device *dp = to_dp(connector); struct drm_connector_state *conn_state; -- 2.7.4