drm/panel: make sharp_ls055d1sx04 static
authorchongjiapeng <jiapeng.chong@linux.alibaba.com>
Tue, 19 Oct 2021 10:40:29 +0000 (18:40 +0800)
committerSam Ravnborg <sam@ravnborg.org>
Mon, 25 Oct 2021 16:43:39 +0000 (18:43 +0200)
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@linux.alibaba.com>
Fixes: 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels")
Signed-off-by: chongjiapeng <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1634640029-12335-1-git-send-email-jiapeng.chong@linux.alibaba.com
drivers/gpu/drm/panel/panel-novatek-nt35950.c

index d42c7af..841c232 100644 (file)
@@ -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",