[media] mtk-vcodec: constify venc_common_if structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Tue, 9 Aug 2016 16:03:55 +0000 (13:03 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 11:46:19 +0000 (08:46 -0300)
commit4319233d79083ce8802f6af280954062c6e2e0fb
treed5850de49bf053fa482f4b2baa0e1bd2851014d8
parent95ad747e925299690c63bcc96c3f9bca640865bd
[media] mtk-vcodec: constify venc_common_if structures

The venc_common_if 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: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h
drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c
drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c
drivers/media/platform/mtk-vcodec/venc_drv_if.c