media: cx23885: add const to v4l2_file_operations structure
authorBhumika Goyal <bhumirks@gmail.com>
Thu, 29 Jun 2017 08:59:19 +0000 (04:59 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 18:56:41 +0000 (14:56 -0400)
commit568bdaddc324c0068f26bbe3d4dc57acb8e3286b
tree984367b93e28941ea6bae8823cf73f9692bddec2
parent6bcc051691186188256ebde07e0777cebcaeda22
media: cx23885: add const to v4l2_file_operations structure

Declare v4l2_file_operations structure as const as it is only stored
in the fops field of video_device structure. This field is of type
const, so declare v4l2_file_operations structures with similar properties
as const.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/pci/cx23885/cx23885-417.c