diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-07-30 12:26:34 +0200 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-08-18 09:37:17 +0200 |
commit | 17d3d3a6146c72c7b2e1aa97191bbefce167e0ad (patch) | |
tree | 6a4d12bbdc22f0da4b7bb1b1973113fda449017f /drivers/gpu | |
parent | drm/ttm: Include pagemap.h from ttm_tt.h (diff) | |
download | linux-17d3d3a6146c72c7b2e1aa97191bbefce167e0ad.tar.xz linux-17d3d3a6146c72c7b2e1aa97191bbefce167e0ad.zip |
drm/vc4: hdmi: make vc4_hdmi_codec_pdata static
This symbol is not used outside of vc4_hdmi.c, so marks it static.
Fix the following sparse warning:
drivers/gpu/drm/vc4/vc4_hdmi.c:1479:25: warning: symbol
'vc4_hdmi_codec_pdata' was not declared. Should it be static?
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/1627640794-15718-1-git-send-email-jiapeng.chong@linux.alibaba.com
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/vc4/vc4_hdmi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c b/drivers/gpu/drm/vc4/vc4_hdmi.c index b7dc32a0c9bb..4a1115043114 100644 --- a/drivers/gpu/drm/vc4/vc4_hdmi.c +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c @@ -1462,7 +1462,7 @@ static const struct hdmi_codec_ops vc4_hdmi_codec_ops = { .audio_startup = vc4_hdmi_audio_startup, }; -struct hdmi_codec_pdata vc4_hdmi_codec_pdata = { +static struct hdmi_codec_pdata vc4_hdmi_codec_pdata = { .ops = &vc4_hdmi_codec_ops, .max_i2s_channels = 8, .i2s = 1, |