Skip to content

Commit 17d3d3a

Browse files
Jiapeng Chongmripard
authored andcommitted
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 <[email protected]> Signed-off-by: Jiapeng Chong <[email protected]> Signed-off-by: Maxime Ripard <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/1627640794-15718-1-git-send-email-jiapeng.chong@linux.alibaba.com
1 parent 80cbd88 commit 17d3d3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/vc4/vc4_hdmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@ static const struct hdmi_codec_ops vc4_hdmi_codec_ops = {
14621462
.audio_startup = vc4_hdmi_audio_startup,
14631463
};
14641464

1465-
struct hdmi_codec_pdata vc4_hdmi_codec_pdata = {
1465+
static struct hdmi_codec_pdata vc4_hdmi_codec_pdata = {
14661466
.ops = &vc4_hdmi_codec_ops,
14671467
.max_i2s_channels = 8,
14681468
.i2s = 1,

0 commit comments

Comments
 (0)