mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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: Abaci Robot <abaci@linux.alibaba.com>
Fixes: 623a3531e9
("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
This commit is contained in:
parent
d9c022d5df
commit
e15623cdce
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue