aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision/usbvision-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r--drivers/media/video/usbvision/usbvision-video.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c
index d97261ab430..a9e5e08caec 100644
--- a/drivers/media/video/usbvision/usbvision-video.c
+++ b/drivers/media/video/usbvision/usbvision-video.c
@@ -998,7 +998,7 @@ static int vidioc_streamoff(struct file *file,
998 return 0; 998 return 0;
999} 999}
1000 1000
1001static int vidioc_enum_fmt_cap (struct file *file, void *priv, 1001static int vidioc_enum_fmt_vid_cap (struct file *file, void *priv,
1002 struct v4l2_fmtdesc *vfd) 1002 struct v4l2_fmtdesc *vfd)
1003{ 1003{
1004 if(vfd->index>=USBVISION_SUPPORTED_PALETTES-1) { 1004 if(vfd->index>=USBVISION_SUPPORTED_PALETTES-1) {
@@ -1012,7 +1012,7 @@ static int vidioc_enum_fmt_cap (struct file *file, void *priv,
1012 return 0; 1012 return 0;
1013} 1013}
1014 1014
1015static int vidioc_g_fmt_cap (struct file *file, void *priv, 1015static int vidioc_g_fmt_vid_cap (struct file *file, void *priv,
1016 struct v4l2_format *vf) 1016 struct v4l2_format *vf)
1017{ 1017{
1018 struct video_device *dev = video_devdata(file); 1018 struct video_device *dev = video_devdata(file);
@@ -1030,7 +1030,7 @@ static int vidioc_g_fmt_cap (struct file *file, void *priv,
1030 return 0; 1030 return 0;
1031} 1031}
1032 1032
1033static int vidioc_try_fmt_cap (struct file *file, void *priv, 1033static int vidioc_try_fmt_vid_cap (struct file *file, void *priv,
1034 struct v4l2_format *vf) 1034 struct v4l2_format *vf)
1035{ 1035{
1036 struct video_device *dev = video_devdata(file); 1036 struct video_device *dev = video_devdata(file);
@@ -1060,7 +1060,7 @@ static int vidioc_try_fmt_cap (struct file *file, void *priv,
1060 return 0; 1060 return 0;
1061} 1061}
1062 1062
1063static int vidioc_s_fmt_cap(struct file *file, void *priv, 1063static int vidioc_s_fmt_vid_cap(struct file *file, void *priv,
1064 struct v4l2_format *vf) 1064 struct v4l2_format *vf)
1065{ 1065{
1066 struct video_device *dev = video_devdata(file); 1066 struct video_device *dev = video_devdata(file);
@@ -1068,7 +1068,7 @@ static int vidioc_s_fmt_cap(struct file *file, void *priv,
1068 (struct usb_usbvision *) video_get_drvdata(dev); 1068 (struct usb_usbvision *) video_get_drvdata(dev);
1069 int ret; 1069 int ret;
1070 1070
1071 if( 0 != (ret=vidioc_try_fmt_cap (file, priv, vf)) ) { 1071 if( 0 != (ret=vidioc_try_fmt_vid_cap (file, priv, vf)) ) {
1072 return ret; 1072 return ret;
1073 } 1073 }
1074 1074
@@ -1407,10 +1407,10 @@ static struct video_device usbvision_video_template = {
1407 .release = video_device_release, 1407 .release = video_device_release,
1408 .minor = -1, 1408 .minor = -1,
1409 .vidioc_querycap = vidioc_querycap, 1409 .vidioc_querycap = vidioc_querycap,
1410 .vidioc_enum_fmt_cap = vidioc_enum_fmt_cap, 1410 .vidioc_enum_fmt_vid_cap = vidioc_enum_fmt_vid_cap,
1411 .vidioc_g_fmt_cap = vidioc_g_fmt_cap, 1411 .vidioc_g_fmt_vid_cap = vidioc_g_fmt_vid_cap,
1412 .vidioc_try_fmt_cap = vidioc_try_fmt_cap, 1412 .vidioc_try_fmt_vid_cap = vidioc_try_fmt_vid_cap,
1413 .vidioc_s_fmt_cap = vidioc_s_fmt_cap, 1413 .vidioc_s_fmt_vid_cap = vidioc_s_fmt_vid_cap,
1414 .vidioc_reqbufs = vidioc_reqbufs, 1414 .vidioc_reqbufs = vidioc_reqbufs,
1415 .vidioc_querybuf = vidioc_querybuf, 1415 .vidioc_querybuf = vidioc_querybuf,
1416 .vidioc_qbuf = vidioc_qbuf, 1416 .vidioc_qbuf = vidioc_qbuf,