aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx88/cx88-video.c')
-rw-r--r--drivers/media/video/cx88/cx88-video.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index eea23f95edb7..0fed5cd2ccea 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -1045,7 +1045,7 @@ static void init_controls(struct cx88_core *core)
1045/* ------------------------------------------------------------------ */ 1045/* ------------------------------------------------------------------ */
1046/* VIDEO IOCTLS */ 1046/* VIDEO IOCTLS */
1047 1047
1048static int vidioc_g_fmt_cap (struct file *file, void *priv, 1048static int vidioc_g_fmt_vid_cap(struct file *file, void *priv,
1049 struct v4l2_format *f) 1049 struct v4l2_format *f)
1050{ 1050{
1051 struct cx8800_fh *fh = priv; 1051 struct cx8800_fh *fh = priv;
@@ -1061,7 +1061,7 @@ static int vidioc_g_fmt_cap (struct file *file, void *priv,
1061 return 0; 1061 return 0;
1062} 1062}
1063 1063
1064static int vidioc_try_fmt_cap (struct file *file, void *priv, 1064static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
1065 struct v4l2_format *f) 1065 struct v4l2_format *f)
1066{ 1066{
1067 struct cx88_core *core = ((struct cx8800_fh *)priv)->dev->core; 1067 struct cx88_core *core = ((struct cx8800_fh *)priv)->dev->core;
@@ -1112,11 +1112,11 @@ static int vidioc_try_fmt_cap (struct file *file, void *priv,
1112 return 0; 1112 return 0;
1113} 1113}
1114 1114
1115static int vidioc_s_fmt_cap (struct file *file, void *priv, 1115static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
1116 struct v4l2_format *f) 1116 struct v4l2_format *f)
1117{ 1117{
1118 struct cx8800_fh *fh = priv; 1118 struct cx8800_fh *fh = priv;
1119 int err = vidioc_try_fmt_cap (file,priv,f); 1119 int err = vidioc_try_fmt_vid_cap (file,priv,f);
1120 1120
1121 if (0 != err) 1121 if (0 != err)
1122 return err; 1122 return err;
@@ -1147,7 +1147,7 @@ static int vidioc_querycap (struct file *file, void *priv,
1147 return 0; 1147 return 0;
1148} 1148}
1149 1149
1150static int vidioc_enum_fmt_cap (struct file *file, void *priv, 1150static int vidioc_enum_fmt_vid_cap (struct file *file, void *priv,
1151 struct v4l2_fmtdesc *f) 1151 struct v4l2_fmtdesc *f)
1152{ 1152{
1153 if (unlikely(f->index >= ARRAY_SIZE(formats))) 1153 if (unlikely(f->index >= ARRAY_SIZE(formats)))
@@ -1690,13 +1690,13 @@ static struct video_device cx8800_video_template =
1690 .fops = &video_fops, 1690 .fops = &video_fops,
1691 .minor = -1, 1691 .minor = -1,
1692 .vidioc_querycap = vidioc_querycap, 1692 .vidioc_querycap = vidioc_querycap,
1693 .vidioc_enum_fmt_cap = vidioc_enum_fmt_cap, 1693 .vidioc_enum_fmt_vid_cap = vidioc_enum_fmt_vid_cap,
1694 .vidioc_g_fmt_cap = vidioc_g_fmt_cap, 1694 .vidioc_g_fmt_vid_cap = vidioc_g_fmt_vid_cap,
1695 .vidioc_try_fmt_cap = vidioc_try_fmt_cap, 1695 .vidioc_try_fmt_vid_cap = vidioc_try_fmt_vid_cap,
1696 .vidioc_s_fmt_cap = vidioc_s_fmt_cap, 1696 .vidioc_s_fmt_vid_cap = vidioc_s_fmt_vid_cap,
1697 .vidioc_g_fmt_vbi = cx8800_vbi_fmt, 1697 .vidioc_g_fmt_vbi_cap = cx8800_vbi_fmt,
1698 .vidioc_try_fmt_vbi = cx8800_vbi_fmt, 1698 .vidioc_try_fmt_vbi_cap = cx8800_vbi_fmt,
1699 .vidioc_s_fmt_vbi = cx8800_vbi_fmt, 1699 .vidioc_s_fmt_vbi_cap = cx8800_vbi_fmt,
1700 .vidioc_reqbufs = vidioc_reqbufs, 1700 .vidioc_reqbufs = vidioc_reqbufs,
1701 .vidioc_querybuf = vidioc_querybuf, 1701 .vidioc_querybuf = vidioc_querybuf,
1702 .vidioc_qbuf = vidioc_qbuf, 1702 .vidioc_qbuf = vidioc_qbuf,