media: : usb: add const to v4l2_file_operations structures
authorBhumika Goyal <bhumirks@gmail.com>
Thu, 29 Jun 2017 06:55:23 +0000 (02:55 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 20 Jul 2017 20:45:25 +0000 (16:45 -0400)
commitff05c9849a52d53da6254f80f53c14d9ad2399a4
treeb0615399cc601c66047ea156b343f2ab1038b474
parent488e27ad81f76a2664fb33c06b6da846605adad2
media: : usb: add const to v4l2_file_operations structures

Declare v4l2_file_operations structures as const as they are only stored
in the fops field of video_device structures. 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: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/au0828/au0828-video.c
drivers/media/usb/cx231xx/cx231xx-417.c
drivers/media/usb/go7007/go7007-v4l2.c
drivers/media/usb/gspca/gspca.c
drivers/media/usb/stk1160/stk1160-v4l.c
drivers/media/usb/stkwebcam/stk-webcam.c
drivers/media/usb/tm6000/tm6000-video.c