media: media/platform: add const to v4l2_file_operations structures
authorBhumika Goyal <bhumirks@gmail.com>
Thu, 29 Jun 2017 08:51:24 +0000 (04:51 -0400)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 19 Jul 2017 18:56:19 +0000 (14:56 -0400)
commit6bcc051691186188256ebde07e0777cebcaeda22
treece37f1bb87fd49abedde882576bd18a10466e768
parent177894bfac2e4d338593a1ff589bebebc0671a65
media: media/platform: 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.

Cross compiled bfin_capture.o for blackfin arch. vpbe_display.o file did
not cross compile for arm. Could not find any architecture matching the
configuraion symbol for fsl-viu.c file.

Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/blackfin/bfin_capture.c
drivers/media/platform/davinci/vpbe_display.c
drivers/media/platform/davinci/vpif_capture.c
drivers/media/platform/fsl-viu.c
drivers/media/platform/soc_camera/soc_camera.c