diff options
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-video.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/media/video/cx23885/cx23885-video.c b/drivers/media/video/cx23885/cx23885-video.c index 84652210a28c..043fc4e5c586 100644 --- a/drivers/media/video/cx23885/cx23885-video.c +++ b/drivers/media/video/cx23885/cx23885-video.c | |||
@@ -915,7 +915,7 @@ static void init_controls(struct cx23885_dev *dev) | |||
915 | /* ------------------------------------------------------------------ */ | 915 | /* ------------------------------------------------------------------ */ |
916 | /* VIDEO IOCTLS */ | 916 | /* VIDEO IOCTLS */ |
917 | 917 | ||
918 | static int vidioc_g_fmt_cap(struct file *file, void *priv, | 918 | static int vidioc_g_fmt_vid_cap(struct file *file, void *priv, |
919 | struct v4l2_format *f) | 919 | struct v4l2_format *f) |
920 | { | 920 | { |
921 | struct cx23885_fh *fh = priv; | 921 | struct cx23885_fh *fh = priv; |
@@ -932,7 +932,7 @@ static int vidioc_g_fmt_cap(struct file *file, void *priv, | |||
932 | return 0; | 932 | return 0; |
933 | } | 933 | } |
934 | 934 | ||
935 | static int vidioc_try_fmt_cap(struct file *file, void *priv, | 935 | static int vidioc_try_fmt_vid_cap(struct file *file, void *priv, |
936 | struct v4l2_format *f) | 936 | struct v4l2_format *f) |
937 | { | 937 | { |
938 | struct cx23885_dev *dev = ((struct cx23885_fh *)priv)->dev; | 938 | struct cx23885_dev *dev = ((struct cx23885_fh *)priv)->dev; |
@@ -983,7 +983,7 @@ static int vidioc_try_fmt_cap(struct file *file, void *priv, | |||
983 | return 0; | 983 | return 0; |
984 | } | 984 | } |
985 | 985 | ||
986 | static int vidioc_s_fmt_cap(struct file *file, void *priv, | 986 | static int vidioc_s_fmt_vid_cap(struct file *file, void *priv, |
987 | struct v4l2_format *f) | 987 | struct v4l2_format *f) |
988 | { | 988 | { |
989 | struct cx23885_fh *fh = priv; | 989 | struct cx23885_fh *fh = priv; |
@@ -991,7 +991,7 @@ static int vidioc_s_fmt_cap(struct file *file, void *priv, | |||
991 | int err; | 991 | int err; |
992 | 992 | ||
993 | dprintk(2, "%s()\n", __func__); | 993 | dprintk(2, "%s()\n", __func__); |
994 | err = vidioc_try_fmt_cap(file, priv, f); | 994 | err = vidioc_try_fmt_vid_cap(file, priv, f); |
995 | 995 | ||
996 | if (0 != err) | 996 | if (0 != err) |
997 | return err; | 997 | return err; |
@@ -1025,7 +1025,7 @@ static int vidioc_querycap(struct file *file, void *priv, | |||
1025 | return 0; | 1025 | return 0; |
1026 | } | 1026 | } |
1027 | 1027 | ||
1028 | static int vidioc_enum_fmt_cap(struct file *file, void *priv, | 1028 | static int vidioc_enum_fmt_vid_cap(struct file *file, void *priv, |
1029 | struct v4l2_fmtdesc *f) | 1029 | struct v4l2_fmtdesc *f) |
1030 | { | 1030 | { |
1031 | if (unlikely(f->index >= ARRAY_SIZE(formats))) | 1031 | if (unlikely(f->index >= ARRAY_SIZE(formats))) |
@@ -1440,13 +1440,13 @@ static struct video_device cx23885_video_template = { | |||
1440 | .fops = &video_fops, | 1440 | .fops = &video_fops, |
1441 | .minor = -1, | 1441 | .minor = -1, |
1442 | .vidioc_querycap = vidioc_querycap, | 1442 | .vidioc_querycap = vidioc_querycap, |
1443 | .vidioc_enum_fmt_cap = vidioc_enum_fmt_cap, | 1443 | .vidioc_enum_fmt_vid_cap = vidioc_enum_fmt_vid_cap, |
1444 | .vidioc_g_fmt_cap = vidioc_g_fmt_cap, | 1444 | .vidioc_g_fmt_vid_cap = vidioc_g_fmt_vid_cap, |
1445 | .vidioc_try_fmt_cap = vidioc_try_fmt_cap, | 1445 | .vidioc_try_fmt_vid_cap = vidioc_try_fmt_vid_cap, |
1446 | .vidioc_s_fmt_cap = vidioc_s_fmt_cap, | 1446 | .vidioc_s_fmt_vid_cap = vidioc_s_fmt_vid_cap, |
1447 | .vidioc_g_fmt_vbi = cx23885_vbi_fmt, | 1447 | .vidioc_g_fmt_vbi_cap = cx23885_vbi_fmt, |
1448 | .vidioc_try_fmt_vbi = cx23885_vbi_fmt, | 1448 | .vidioc_try_fmt_vbi_cap = cx23885_vbi_fmt, |
1449 | .vidioc_s_fmt_vbi = cx23885_vbi_fmt, | 1449 | .vidioc_s_fmt_vbi_cap = cx23885_vbi_fmt, |
1450 | .vidioc_reqbufs = vidioc_reqbufs, | 1450 | .vidioc_reqbufs = vidioc_reqbufs, |
1451 | .vidioc_querybuf = vidioc_querybuf, | 1451 | .vidioc_querybuf = vidioc_querybuf, |
1452 | .vidioc_qbuf = vidioc_qbuf, | 1452 | .vidioc_qbuf = vidioc_qbuf, |