summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHelen Fornazier <helen.koike@collabora.com>2017-06-19 14:00:21 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-23 09:16:03 -0300
commit0e8298e58839cb0bb6aafdbae38e5f8b03a8ff20 (patch)
treebc66173e46cfaa780b2f3f1b088c5428198a73e9 /drivers
parent6856ba77607a467b0f8f94cc7f0dc6152f8786e5 (diff)
downloadlinux-0e8298e58839cb0bb6aafdbae38e5f8b03a8ff20.tar.gz
linux-0e8298e58839cb0bb6aafdbae38e5f8b03a8ff20.tar.bz2
linux-0e8298e58839cb0bb6aafdbae38e5f8b03a8ff20.zip
[media] vimc: sen: Declare vimc_sen_video_ops as static
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/vimc/vimc-sensor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/vimc/vimc-sensor.c b/drivers/media/platform/vimc/vimc-sensor.c
index 5ea7b0853936..ebdbbe8c05ed 100644
--- a/drivers/media/platform/vimc/vimc-sensor.c
+++ b/drivers/media/platform/vimc/vimc-sensor.c
@@ -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,
};