[media] tw686x: add missing statics
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 21 Mar 2016 15:09:59 +0000 (12:09 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 Apr 2016 16:42:32 +0000 (13:42 -0300)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/tw686x/tw686x-video.c

index 35ad8e6..2356fa2 100644 (file)
@@ -665,7 +665,7 @@ static int tw686x_enum_input(struct file *file, void *priv,
        return 0;
 }
 
-const struct v4l2_file_operations tw686x_video_fops = {
+static const struct v4l2_file_operations tw686x_video_fops = {
        .owner          = THIS_MODULE,
        .open           = v4l2_fh_open,
        .unlocked_ioctl = video_ioctl2,
@@ -675,7 +675,7 @@ const struct v4l2_file_operations tw686x_video_fops = {
        .mmap           = vb2_fop_mmap,
 };
 
-const struct v4l2_ioctl_ops tw686x_video_ioctl_ops = {
+static const struct v4l2_ioctl_ops tw686x_video_ioctl_ops = {
        .vidioc_querycap                = tw686x_querycap,
        .vidioc_g_fmt_vid_cap           = tw686x_g_fmt_vid_cap,
        .vidioc_s_fmt_vid_cap           = tw686x_s_fmt_vid_cap,