diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2020-03-04 11:40:47 +0100 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2020-03-10 10:51:24 +0100 |
commit | 0fad640bbfed33e7e2a8db056e3782b396c42185 (patch) | |
tree | 26c25ca7ba87c184ae231b64a483693a6e756a65 /drivers/gpu/drm/meson/meson_venc.c | |
parent | f14d3f6c39f39acf0eec90f4dcf1105f7be1fc1b (diff) | |
download | lwn-0fad640bbfed33e7e2a8db056e3782b396c42185.tar.gz lwn-0fad640bbfed33e7e2a8db056e3782b396c42185.zip |
drm/meson: venc: make drm_display_mode const
Before switching to bridge funcs, make sure drm_display_mode is passed
as const to the venc functions.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Jernej Škrabec <jernej.skrabec@siol.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200304104052.17196-7-narmstrong@baylibre.com
Diffstat (limited to 'drivers/gpu/drm/meson/meson_venc.c')
-rw-r--r-- | drivers/gpu/drm/meson/meson_venc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/meson/meson_venc.c b/drivers/gpu/drm/meson/meson_venc.c index 4efd7864d5bf..a9ab78970bfe 100644 --- a/drivers/gpu/drm/meson/meson_venc.c +++ b/drivers/gpu/drm/meson/meson_venc.c @@ -946,7 +946,7 @@ bool meson_venc_hdmi_venc_repeat(int vic) EXPORT_SYMBOL_GPL(meson_venc_hdmi_venc_repeat); void meson_venc_hdmi_mode_set(struct meson_drm *priv, int vic, - struct drm_display_mode *mode) + const struct drm_display_mode *mode) { union meson_hdmi_venc_mode *vmode = NULL; union meson_hdmi_venc_mode vmode_dmt; |