[media] saa7146: make saa7146_use_ops const
authorBhumika Goyal <bhumirks@gmail.com>
Wed, 13 Sep 2017 19:37:50 +0000 (16:37 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 4 Oct 2017 19:57:33 +0000 (16:57 -0300)
commitad62701720dd5d2a17c62f6c3bbd6ee629efcfaa
treedcf0ff1745ceee28257b121ece972aceb764f070
parent022565200a4f27ffcf9315b2194ca9454059d6b1
[media] saa7146: make saa7146_use_ops const

Make these const as they are not modified in the file referencing them.
They are only used when their function pointer fields invokes a
function and therefore none of the structure fields are getting modified.
Also, add a const to the declaration in the header.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/common/saa7146/saa7146_vbi.c
drivers/media/common/saa7146/saa7146_video.c
include/media/drv-intf/saa7146_vv.h