Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp322019pxb; Tue, 19 Oct 2021 03:43:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzHJcMMxG7Qcm0fwokCrv+KTLDOwmpSqqYTud0M7ReQtTQl7QnTkixYtlHDjkHOszwCdXzl X-Received: by 2002:a17:902:a40c:b029:12c:17cf:ab6f with SMTP id p12-20020a170902a40cb029012c17cfab6fmr33282541plq.71.1634640200300; Tue, 19 Oct 2021 03:43:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634640200; cv=none; d=google.com; s=arc-20160816; b=EZ408JvFQkHJSTfMu7fDPg8RyngtAO00yS/9N5qEXG+BOqe2qTiCsRWoe6SiAYdtAC PZ6ndlL77v833rBzlS18kEoa3uktOm1/ADNGz2q3KvRtL40sPod37HuD7DvDQITEhysf FO+QBDfIIno6eITq3pTN+minaiBJD64V/Ze/ulGtx0SuUeWnS7aqrW41aPYajkfI6k7b BmlBn5jcMDBvbJCpol49i1koLglf4RuK2wUL8ZRrENArHcu9eKSWNBhW0PhpBSByvXTb ZLdYJn7jhx10vKxURDVA47vKPfwr8+oQXmLGT6svDU8H7IO0300VGeJWSWz1/UiRSb7k sn3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from; bh=lb3dzA826e1loB3DSRSBv8c0KTY9FmQfMz3uc7GvlWg=; b=e/owSYYROnFj2Ae6x9qtaeIrAgbhBxwNF+ckFPNFwTw8ocCjKO9HdBBZfMnwYk3UZM ed/vEFADPiQn3pTzZmuZ8gbBLIgFinCQVSYeiouO2obaR4G9c1U6Pcav1EpWVhrq0BEA 7psDp1e3uWa9hfu8KU5l7Rl2SK0IodN4tUQf8685OAc8M0iY/d5kb0LkTOosnM63aaUF yuU7lkZDnLofIwsHH/o11Adu9YMwmmeo0nz6OuXUw+ulEhOoryqH6cfYZdxoPe8xAi5+ BZUC998CvkKvpp8ZI+EdCt3ZwB0bhMSPYXBv+OvTV2oYzI9+Fa2qhNwn47KTZnRSFAaX N2qA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s196si20101659pgs.539.2021.10.19.03.43.06; Tue, 19 Oct 2021 03:43:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S235207AbhJSKm7 (ORCPT + 99 others); Tue, 19 Oct 2021 06:42:59 -0400 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:58886 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230117AbhJSKm6 (ORCPT ); Tue, 19 Oct 2021 06:42:58 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R141e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04423;MF=jiapeng.chong@linux.alibaba.com;NM=1;PH=DS;RN=7;SR=0;TI=SMTPD_---0Usvb6RI_1634640031; Received: from j63c13417.sqa.eu95.tbsite.net(mailfrom:jiapeng.chong@linux.alibaba.com fp:SMTPD_---0Usvb6RI_1634640031) by smtp.aliyun-inc.com(127.0.0.1); Tue, 19 Oct 2021 18:40:44 +0800 From: Jiapeng Chong To: thierry.reding@gmail.com Cc: sam@ravnborg.org, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, chongjiapeng Subject: [PATCH] drm/panel: make sharp_ls055d1sx04 static Date: Tue, 19 Oct 2021 18:40:29 +0800 Message-Id: <1634640029-12335-1-git-send-email-jiapeng.chong@linux.alibaba.com> X-Mailer: git-send-email 1.8.3.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: chongjiapeng This symbol is not used outside of panel-novatek-nt35950.c, so marks it static. Fixes the following sparse warning: drivers/gpu/drm/panel/panel-novatek-nt35950.c:671:33: warning: symbol 'sharp_ls055d1sx04' was not declared. Should it be static? Reported-by: Abaci Robot Fixes: 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels") Signed-off-by: chongjiapeng --- drivers/gpu/drm/panel/panel-novatek-nt35950.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/panel/panel-novatek-nt35950.c b/drivers/gpu/drm/panel/panel-novatek-nt35950.c index d42c7af0d75c..841c2320e439 100644 --- a/drivers/gpu/drm/panel/panel-novatek-nt35950.c +++ b/drivers/gpu/drm/panel/panel-novatek-nt35950.c @@ -668,7 +668,7 @@ static const struct nt35950_panel_mode sharp_ls055d1sx04_modes[] = { /* TODO: Add 2160x3840 60Hz when DSC is supported */ }; -const struct nt35950_panel_desc sharp_ls055d1sx04 = { +static const struct nt35950_panel_desc sharp_ls055d1sx04 = { .model_name = "Sharp LS055D1SX04", .dsi_info = { .type = "LS055D1SX04", -- 2.19.1.6.gb485710b