Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa55457d authored by Julia Lawall's avatar Julia Lawall Committed by Bartlomiej Zolnierkiewicz
Browse files

omapfb: constify omap_video_timings structures



These omap_video_timings structures are only copied into other
structures, so they can be const.

Done with the help of Coccinelle.

Signed-off-by: default avatarJulia Lawall <Julia.Lawall@lip6.fr>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
parent 7af9a52e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@

#include <video/omapfb_dss.h>

static struct omap_video_timings lb035q02_timings = {
static const struct omap_video_timings lb035q02_timings = {
	.x_res = 320,
	.y_res = 240,

+1 −1
Original line number Diff line number Diff line
@@ -41,7 +41,7 @@ struct panel_drv_data {
	struct spi_device *spi_dev;
};

static struct omap_video_timings td028ttec1_panel_timings = {
static const struct omap_video_timings td028ttec1_panel_timings = {
	.x_res		= 480,
	.y_res		= 640,
	.pixelclock	= 22153000,