浏览代码

[media] tw686x: add missing statics

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Hans Verkuil 9 年之前
父节点
当前提交
2e2dedb96d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      drivers/media/pci/tw686x/tw686x-video.c

+ 2 - 2
drivers/media/pci/tw686x/tw686x-video.c

@@ -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,