OSDN Git Service

drm/omap: omap_display_timings: constify videomode structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Fri, 4 Aug 2017 06:09:53 +0000 (08:09 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 15 Aug 2017 12:18:25 +0000 (15:18 +0300)
commitfd4ba2ec50de251a3df92b992d7ea26bfbf54213
treea86e014d06ed6c96f315f643383ca7ceb3b5766b
parent232ce608ff5c6fa824b6ef8311bf2b2a64f8d84b
drm/omap: omap_display_timings: constify videomode structures

The videomode structures are only copied into the vm field of a
panel_drv_data structure, so they can be const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/gpu/drm/omapdrm/displays/panel-lgphilips-lb035q02.c
drivers/gpu/drm/omapdrm/displays/panel-tpo-td028ttec1.c