Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 15910174 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Archit Taneja
Browse files

drm/bridge: adv7511: Constify HDMI CODEC platform data



The HDMI codec platform data is global driver state shared by all
instances. As such it should not be modified (and is not), to make this
explicit declare it as const.

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Tested-by: default avatarJohn Stultz <john.stultz@linaro.org>
Signed-off-by: default avatarArchit Taneja <architt@codeaurora.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20170905121018.11477-4-lars@metafoo.de
parent 2f47f1c1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -210,7 +210,7 @@ static const struct hdmi_codec_ops adv7511_codec_ops = {
	.get_dai_id	= adv7511_hdmi_i2s_get_dai_id,
};

static struct hdmi_codec_pdata codec_data = {
static const struct hdmi_codec_pdata codec_data = {
	.ops = &adv7511_codec_ops,
	.max_i2s_channels = 2,
	.i2s = 1,