diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-06-04 18:29:01 +0300 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2018-09-03 16:13:29 +0300 |
commit | 8fe1d36100c84ab1b501771252755d75ddcb6bff (patch) | |
tree | cdd5ce4ac70ed42efdadc78830685139c0a2fc90 /drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c | |
parent | 9c626dee5cdb13aad5aa1448e08186bf6452647d (diff) | |
download | linux-8fe1d36100c84ab1b501771252755d75ddcb6bff.tar.gz linux-8fe1d36100c84ab1b501771252755d75ddcb6bff.tar.bz2 linux-8fe1d36100c84ab1b501771252755d75ddcb6bff.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c')
-rw-r--r-- | drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c index 1b0e42daa296..087f62f4311b 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c @@ -304,7 +304,7 @@ static void td028ttec1_panel_disable(struct omap_dss_device *dssdev) } static void td028ttec1_panel_set_timings(struct omap_dss_device *dssdev, - struct videomode *vm) + const struct videomode *vm) { struct panel_drv_data *ddata = to_panel_data(dssdev); struct omap_dss_device *src = dssdev->src; |