summaryrefslogtreecommitdiff
path: root/drivers/media/platform/s5p-tv/mixer_vp_layer.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-11-15 18:08:23 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-13 16:26:33 -0300
commitadbedc29524a31cc6196d991acc04ee797abc11b (patch)
treed1e21b7443a65bda8fe3e3de47363da7e5ad1ef4 /drivers/media/platform/s5p-tv/mixer_vp_layer.c
parent4c9c6d86d190caa00028dcb3e9864e57aa9a1df6 (diff)
[media] s5p-tv: constify mxr_layer_ops structures
The mxr_layer_ops structures are never modified, so declare them as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/platform/s5p-tv/mixer_vp_layer.c')
-rw-r--r--drivers/media/platform/s5p-tv/mixer_vp_layer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-tv/mixer_vp_layer.c b/drivers/media/platform/s5p-tv/mixer_vp_layer.c
index dd002a497dbb..6fa6f673f53b 100644
--- a/drivers/media/platform/s5p-tv/mixer_vp_layer.c
+++ b/drivers/media/platform/s5p-tv/mixer_vp_layer.c
@@ -207,7 +207,7 @@ struct mxr_layer *mxr_vp_layer_create(struct mxr_device *mdev, int idx)
{
struct mxr_layer *layer;
int ret;
- struct mxr_layer_ops ops = {
+ const struct mxr_layer_ops ops = {
.release = mxr_vp_layer_release,
.buffer_set = mxr_vp_buffer_set,
.stream_set = mxr_vp_stream_set,