summaryrefslogtreecommitdiff
path: root/drivers/media/platform/s5p-tv/mixer.h
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.h
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.h')
-rw-r--r--drivers/media/platform/s5p-tv/mixer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/s5p-tv/mixer.h b/drivers/media/platform/s5p-tv/mixer.h
index 42cd2709c41c..4dd62a918fcf 100644
--- a/drivers/media/platform/s5p-tv/mixer.h
+++ b/drivers/media/platform/s5p-tv/mixer.h
@@ -300,7 +300,7 @@ void mxr_release_video(struct mxr_device *mdev);
struct mxr_layer *mxr_graph_layer_create(struct mxr_device *mdev, int idx);
struct mxr_layer *mxr_vp_layer_create(struct mxr_device *mdev, int idx);
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);
void mxr_base_layer_release(struct mxr_layer *layer);
void mxr_layer_release(struct mxr_layer *layer);