From 8fe1d36100c84ab1b501771252755d75ddcb6bff Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 4 Jun 2018 18:29:01 +0300 Subject: 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 Reviewed-by: Sebastian Reichel Signed-off-by: Tomi Valkeinen --- drivers/gpu/drm/omapdrm/dss/hdmi5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/drm/omapdrm/dss/hdmi5.c') diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5.c b/drivers/gpu/drm/omapdrm/dss/hdmi5.c index 259cd39d0c1d..d63831c9eacf 100644 --- a/drivers/gpu/drm/omapdrm/dss/hdmi5.c +++ b/drivers/gpu/drm/omapdrm/dss/hdmi5.c @@ -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); -- cgit v1.2.3