[media] vimc: sen: Declare vimc_sen_video_ops as static
authorHelen Fornazier <helen.koike@collabora.com>
Mon, 19 Jun 2017 17:00:21 +0000 (14:00 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 23 Jun 2017 12:16:03 +0000 (09:16 -0300)
Declare vimc_sen_video_ops as static, remove warning from sparse tool

Signed-off-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/vimc/vimc-sensor.c

index 5ea7b08539363f941db16a7b4be44905e9236af6..ebdbbe8c05ed53aa4372b1300b044e6d5b25b3d1 100644 (file)
@@ -282,7 +282,7 @@ static int vimc_sen_s_stream(struct v4l2_subdev *sd, int enable)
        return 0;
 }
 
-struct v4l2_subdev_video_ops vimc_sen_video_ops = {
+static struct v4l2_subdev_video_ops vimc_sen_video_ops = {
        .s_stream = vimc_sen_s_stream,
 };