drm/omap: Make the video_mode pointer to .set_timings() const

The .set_timings() operations of the omap_dss_device instances don't
need to modify the passed timings. Make the pointer const.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
This commit is contained in:
Laurent Pinchart
2018-06-04 18:29:01 +03:00
committed by Tomi Valkeinen
szülő 9c626dee5c
commit 8fe1d36100
19 fájl változott, egészen pontosan 19 új sor hozzáadva és 19 régi sor törölve

Fájl megtekintése

@@ -262,7 +262,7 @@ static int hdmi_display_check_timings(struct omap_dss_device *dssdev,
}
static void hdmi_display_set_timings(struct omap_dss_device *dssdev,
struct videomode *vm)
const struct videomode *vm)
{
struct omap_hdmi *hdmi = dssdev_to_hdmi(dssdev);