Commit 6fda1c94 authored by Tom Rix's avatar Tom Rix Committed by Dmitry Baryshkov

drm/msm/mdp5: set varaiable msm8x76_config storage-class-specifier to static

smatch reports
drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c:658:26: warning: symbol
  'msm8x76_config' was not declared. Should it be static?

This variable is only used in one file so should be static.
Signed-off-by: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/530950/
Link: https://lore.kernel.org/r/20230404185329.1925964-1-trix@redhat.comSigned-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
parent 078f6ec8
...@@ -655,7 +655,7 @@ static const struct mdp5_cfg_hw msm8x96_config = { ...@@ -655,7 +655,7 @@ static const struct mdp5_cfg_hw msm8x96_config = {
.max_clk = 412500000, .max_clk = 412500000,
}; };
const struct mdp5_cfg_hw msm8x76_config = { static const struct mdp5_cfg_hw msm8x76_config = {
.name = "msm8x76", .name = "msm8x76",
.mdp = { .mdp = {
.count = 1, .count = 1,
......
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