aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88/cx88-blackbird.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx88/cx88-blackbird.c')
-rw-r--r--drivers/media/video/cx88/cx88-blackbird.c19
1 files changed, 10 insertions, 9 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c
index 6c0c94c5ef91..bfdca5847764 100644
--- a/drivers/media/video/cx88/cx88-blackbird.c
+++ b/drivers/media/video/cx88/cx88-blackbird.c
@@ -715,7 +715,8 @@ static int vidioc_querymenu (struct file *file, void *priv,
715 715
716 qctrl.id = qmenu->id; 716 qctrl.id = qmenu->id;
717 blackbird_queryctrl(dev, &qctrl); 717 blackbird_queryctrl(dev, &qctrl);
718 return v4l2_ctrl_query_menu(qmenu, &qctrl, cx2341x_ctrl_get_menu(qmenu->id)); 718 return v4l2_ctrl_query_menu(qmenu, &qctrl,
719 cx2341x_ctrl_get_menu(&dev->params, qmenu->id));
719} 720}
720 721
721static int vidioc_querycap (struct file *file, void *priv, 722static int vidioc_querycap (struct file *file, void *priv,
@@ -737,7 +738,7 @@ static int vidioc_querycap (struct file *file, void *priv,
737 return 0; 738 return 0;
738} 739}
739 740
740static int vidioc_enum_fmt_cap (struct file *file, void *priv, 741static int vidioc_enum_fmt_vid_cap (struct file *file, void *priv,
741 struct v4l2_fmtdesc *f) 742 struct v4l2_fmtdesc *f)
742{ 743{
743 if (f->index != 0) 744 if (f->index != 0)
@@ -749,7 +750,7 @@ static int vidioc_enum_fmt_cap (struct file *file, void *priv,
749 return 0; 750 return 0;
750} 751}
751 752
752static int vidioc_g_fmt_cap (struct file *file, void *priv, 753static int vidioc_g_fmt_vid_cap (struct file *file, void *priv,
753 struct v4l2_format *f) 754 struct v4l2_format *f)
754{ 755{
755 struct cx8802_fh *fh = priv; 756 struct cx8802_fh *fh = priv;
@@ -768,7 +769,7 @@ static int vidioc_g_fmt_cap (struct file *file, void *priv,
768 return 0; 769 return 0;
769} 770}
770 771
771static int vidioc_try_fmt_cap (struct file *file, void *priv, 772static int vidioc_try_fmt_vid_cap (struct file *file, void *priv,
772 struct v4l2_format *f) 773 struct v4l2_format *f)
773{ 774{
774 struct cx8802_fh *fh = priv; 775 struct cx8802_fh *fh = priv;
@@ -784,7 +785,7 @@ static int vidioc_try_fmt_cap (struct file *file, void *priv,
784 return 0; 785 return 0;
785} 786}
786 787
787static int vidioc_s_fmt_cap (struct file *file, void *priv, 788static int vidioc_s_fmt_vid_cap (struct file *file, void *priv,
788 struct v4l2_format *f) 789 struct v4l2_format *f)
789{ 790{
790 struct cx8802_fh *fh = priv; 791 struct cx8802_fh *fh = priv;
@@ -1181,10 +1182,10 @@ static struct video_device cx8802_mpeg_template =
1181 .minor = -1, 1182 .minor = -1,
1182 .vidioc_querymenu = vidioc_querymenu, 1183 .vidioc_querymenu = vidioc_querymenu,
1183 .vidioc_querycap = vidioc_querycap, 1184 .vidioc_querycap = vidioc_querycap,
1184 .vidioc_enum_fmt_cap = vidioc_enum_fmt_cap, 1185 .vidioc_enum_fmt_vid_cap = vidioc_enum_fmt_vid_cap,
1185 .vidioc_g_fmt_cap = vidioc_g_fmt_cap, 1186 .vidioc_g_fmt_vid_cap = vidioc_g_fmt_vid_cap,
1186 .vidioc_try_fmt_cap = vidioc_try_fmt_cap, 1187 .vidioc_try_fmt_vid_cap = vidioc_try_fmt_vid_cap,
1187 .vidioc_s_fmt_cap = vidioc_s_fmt_cap, 1188 .vidioc_s_fmt_vid_cap = vidioc_s_fmt_vid_cap,
1188 .vidioc_reqbufs = vidioc_reqbufs, 1189 .vidioc_reqbufs = vidioc_reqbufs,
1189 .vidioc_querybuf = vidioc_querybuf, 1190 .vidioc_querybuf = vidioc_querybuf,
1190 .vidioc_qbuf = vidioc_qbuf, 1191 .vidioc_qbuf = vidioc_qbuf,