media: saa7146: constify videobuf_queue_ops structures
authorArvind Yadav <arvind.yadav.cs@gmail.com>
Tue, 22 Aug 2017 12:56:33 +0000 (08:56 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Sat, 26 Aug 2017 18:29:51 +0000 (14:29 -0400)
commit11c2078bbfc30ac3923b1435612cd91e35820176
treee90f9938b5c3f659ee5fb5b9938b677331a90120
parent597c147ba950a3b0c4ecb0d1877668b66425c262
media: saa7146: 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/common/saa7146/saa7146_vbi.c
drivers/media/common/saa7146/saa7146_video.c