diff options
author | chongjiapeng <jiapeng.chong@linux.alibaba.com> | 2021-10-19 13:40:29 +0300 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2021-10-25 19:43:39 +0300 |
commit | e15623cdce6fca662dbecd311f9d74bc61d0e1f2 (patch) | |
tree | 5becbc492705e534893ad3b4f6d2a9c1a40a5523 /drivers/gpu/drm/panel/panel-novatek-nt35950.c | |
parent | d9c022d5dfea9f0b550a3d24ec786d39ff55ad6b (diff) | |
download | linux-e15623cdce6fca662dbecd311f9d74bc61d0e1f2.tar.xz |
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: 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
Diffstat (limited to 'drivers/gpu/drm/panel/panel-novatek-nt35950.c')
-rw-r--r-- | drivers/gpu/drm/panel/panel-novatek-nt35950.c | 2 |
1 files changed, 1 insertions, 1 deletions
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", |