summaryrefslogtreecommitdiff
path: root/drivers/media/platform/s5p-tv/mixer_video.c
diff options
context:
space:
mode:
authorJulia Lawall <Julia.Lawall@lip6.fr>2015-11-15 23:08:23 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-04-13 22:26:33 +0300
commitadbedc29524a31cc6196d991acc04ee797abc11b (patch)
treed1e21b7443a65bda8fe3e3de47363da7e5ad1ef4 /drivers/media/platform/s5p-tv/mixer_video.c
parent4c9c6d86d190caa00028dcb3e9864e57aa9a1df6 (diff)
downloadlinux-adbedc29524a31cc6196d991acc04ee797abc11b.tar.xz
[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_video.c')
-rw-r--r--drivers/media/platform/s5p-tv/mixer_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-tv/mixer_video.c b/drivers/media/platform/s5p-tv/mixer_video.c
index d9e7f030294c..7ab5578a0405 100644
--- a/drivers/media/platform/s5p-tv/mixer_video.c
+++ b/drivers/media/platform/s5p-tv/mixer_video.c
@@ -1070,7 +1070,7 @@ static void mxr_vfd_release(struct video_device *vdev)
}
struct mxr_layer *mxr_base_layer_create(struct mxr_device *mdev,
- int idx, char *name, struct mxr_layer_ops *ops)
+ int idx, char *name, const struct mxr_layer_ops *ops)
{
struct mxr_layer *layer;