[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1634640029-12335-1-git-send-email-jiapeng.chong@linux.alibaba.com>
Date: Tue, 19 Oct 2021 18:40:29 +0800
From: Jiapeng Chong <jiapeng.chong@...ux.alibaba.com>
To: thierry.reding@...il.com
Cc: sam@...nborg.org, airlied@...ux.ie, daniel@...ll.ch,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
chongjiapeng <jiapeng.chong@...ux.alibaba.com>
Subject: [PATCH] drm/panel: make sharp_ls055d1sx04 static
From: chongjiapeng <jiapeng.chong@...ux.alibaba.com>
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 <abaci@...ux.alibaba.com>
Fixes: 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels")
Signed-off-by: chongjiapeng <jiapeng.chong@...ux.alibaba.com>
---
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
Powered by blists - more mailing lists