The venc_common_if structures are never modified, so declare them as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h|2 +-
drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c |6
The venc_common_if structures are never modified, so declare them as const.
Done with the help of Coccinelle.
Signed-off-by: Julia Lawall
---
drivers/media/platform/mtk-vcodec/mtk_vcodec_drv.h|2 +-
drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c |6 +++---
2 matches
Mail list logo