diff options
author | Lars-Peter Clausen <[email protected]> | 2017-09-05 14:10:18 +0200 |
---|---|---|
committer | Archit Taneja <[email protected]> | 2017-09-16 15:11:04 +0530 |
commit | 1591017442ffb6b0a735abe4f611a203fb632501 (patch) | |
tree | c1d922acf4b8dfce5c3185dad6e99b51da2c8cd6 | |
parent | 2f47f1c106d99f367f2924ce35741050fb87e081 (diff) |
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: Lars-Peter Clausen <[email protected]>
Tested-by: John Stultz <[email protected]>
Signed-off-by: Archit Taneja <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
-rw-r--r-- | drivers/gpu/drm/bridge/adv7511/adv7511_audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c index 67469c26bae8..1b4783d45c53 100644 --- a/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c +++ b/drivers/gpu/drm/bridge/adv7511/adv7511_audio.c @@ -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, |