Commit e15623cd authored by chongjiapeng's avatar chongjiapeng Committed by Sam Ravnborg

drm/panel: make sharp_ls055d1sx04 static

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: default avatarAbaci Robot <abaci@linux.alibaba.com>
Fixes: 623a3531 ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels")
Signed-off-by: default avatarchongjiapeng <jiapeng.chong@linux.alibaba.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/1634640029-12335-1-git-send-email-jiapeng.chong@linux.alibaba.com
parent d9c022d5
......@@ -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",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment