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

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
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <video/omapfb_dss.h> #include <video/omapfb_dss.h>
static struct omap_video_timings lb035q02_timings = { static const struct omap_video_timings lb035q02_timings = {
.x_res = 320, .x_res = 320,
.y_res = 240, .y_res = 240,
......
...@@ -41,7 +41,7 @@ struct panel_drv_data { ...@@ -41,7 +41,7 @@ struct panel_drv_data {
struct spi_device *spi_dev; 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, .x_res = 480,
.y_res = 640, .y_res = 640,
.pixelclock = 22153000, .pixelclock = 22153000,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment