media: platform: constify videobuf_queue_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 22 Aug 2017 12:56:35 +0000 (08:56 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 18:30:25 +0000 (14:30 -0400)
commitbd9f8f750e238f8a6160fb053ae97016f6da1098
tree973e13fa7a1b36b759ebeadd1a474ac9e3716046
parent960c15dd171cf9f7172ecb785673b8265c567a53
media: platform: constify videobuf_queue_ops structures

videobuf_queue_ops are not supposed to change at runtime. All functions
working with videobuf_queue_ops provided by <media/videobuf-core.h> work
with const videobuf_queue_ops. So mark the non-const structs as const.

Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Hans Verkuil <hansverk@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/davinci/vpfe_capture.c
drivers/media/platform/fsl-viu.c