drm/vc4: hdmi: Constify drm_display_mode
authorMaxime Ripard <maxime@cerno.tech>
Mon, 29 Aug 2022 13:47:24 +0000 (15:47 +0200)
committerMaxime Ripard <maxime@cerno.tech>
Tue, 13 Sep 2022 15:20:08 +0000 (16:20 +0100)
commit58009c256b1134a5257407f60fd37396dc99cbca
tree46c0251c60bfaf0183fc8dd62473ec6ae951b0b8
parentb78e5d830f0db8e6d998cdc5a2b7b807cf463f99
drm/vc4: hdmi: Constify drm_display_mode

We don't modify the drm_display_mode pointer we have in the driver in
most places, so let's make them const.

Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20220829134731.213478-2-maxime@cerno.tech
drivers/gpu/drm/vc4/vc4_hdmi.c
drivers/gpu/drm/vc4/vc4_hdmi.h