diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2008-05-28 11:16:41 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-07-20 06:07:32 -0400 |
commit | 78b526a43561d7e5e702ba27948e422dfbc4bea1 (patch) | |
tree | 67c8b7150b51f6a82275af6f5baaedff4eaf40c0 /drivers/media/video/zr364xx.c | |
parent | 0e3bd2b9996dfa4105617e2369155823df6b389a (diff) |
V4L/DVB (7949): videodev: renamed the vidioc_*_fmt_* callbacks
The naming for the callbacks that handle the VIDIOC_ENUM_FMT and
VIDIOC_S/G/TRY_FMT ioctls was very confusing. Renamed it to match
the v4l2_buf_type name.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/zr364xx.c')
-rw-r--r-- | drivers/media/video/zr364xx.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/media/video/zr364xx.c b/drivers/media/video/zr364xx.c index a0e49dc66301..485df2e36132 100644 --- a/drivers/media/video/zr364xx.c +++ b/drivers/media/video/zr364xx.c | |||
@@ -521,7 +521,7 @@ static int zr364xx_vidioc_g_ctrl(struct file *file, void *priv, | |||
521 | return 0; | 521 | return 0; |
522 | } | 522 | } |
523 | 523 | ||
524 | static int zr364xx_vidioc_enum_fmt_cap(struct file *file, | 524 | static int zr364xx_vidioc_enum_fmt_vid_cap(struct file *file, |
525 | void *priv, struct v4l2_fmtdesc *f) | 525 | void *priv, struct v4l2_fmtdesc *f) |
526 | { | 526 | { |
527 | if (f->index > 0) | 527 | if (f->index > 0) |
@@ -537,7 +537,7 @@ static int zr364xx_vidioc_enum_fmt_cap(struct file *file, | |||
537 | return 0; | 537 | return 0; |
538 | } | 538 | } |
539 | 539 | ||
540 | static int zr364xx_vidioc_try_fmt_cap(struct file *file, void *priv, | 540 | static int zr364xx_vidioc_try_fmt_vid_cap(struct file *file, void *priv, |
541 | struct v4l2_format *f) | 541 | struct v4l2_format *f) |
542 | { | 542 | { |
543 | struct video_device *vdev = video_devdata(file); | 543 | struct video_device *vdev = video_devdata(file); |
@@ -564,7 +564,7 @@ static int zr364xx_vidioc_try_fmt_cap(struct file *file, void *priv, | |||
564 | return 0; | 564 | return 0; |
565 | } | 565 | } |
566 | 566 | ||
567 | static int zr364xx_vidioc_g_fmt_cap(struct file *file, void *priv, | 567 | static int zr364xx_vidioc_g_fmt_vid_cap(struct file *file, void *priv, |
568 | struct v4l2_format *f) | 568 | struct v4l2_format *f) |
569 | { | 569 | { |
570 | struct video_device *vdev = video_devdata(file); | 570 | struct video_device *vdev = video_devdata(file); |
@@ -589,7 +589,7 @@ static int zr364xx_vidioc_g_fmt_cap(struct file *file, void *priv, | |||
589 | return 0; | 589 | return 0; |
590 | } | 590 | } |
591 | 591 | ||
592 | static int zr364xx_vidioc_s_fmt_cap(struct file *file, void *priv, | 592 | static int zr364xx_vidioc_s_fmt_vid_cap(struct file *file, void *priv, |
593 | struct v4l2_format *f) | 593 | struct v4l2_format *f) |
594 | { | 594 | { |
595 | struct video_device *vdev = video_devdata(file); | 595 | struct video_device *vdev = video_devdata(file); |
@@ -770,10 +770,10 @@ static struct video_device zr364xx_template = { | |||
770 | .minor = -1, | 770 | .minor = -1, |
771 | 771 | ||
772 | .vidioc_querycap = zr364xx_vidioc_querycap, | 772 | .vidioc_querycap = zr364xx_vidioc_querycap, |
773 | .vidioc_enum_fmt_cap = zr364xx_vidioc_enum_fmt_cap, | 773 | .vidioc_enum_fmt_vid_cap = zr364xx_vidioc_enum_fmt_vid_cap, |
774 | .vidioc_try_fmt_cap = zr364xx_vidioc_try_fmt_cap, | 774 | .vidioc_try_fmt_vid_cap = zr364xx_vidioc_try_fmt_vid_cap, |
775 | .vidioc_s_fmt_cap = zr364xx_vidioc_s_fmt_cap, | 775 | .vidioc_s_fmt_vid_cap = zr364xx_vidioc_s_fmt_vid_cap, |
776 | .vidioc_g_fmt_cap = zr364xx_vidioc_g_fmt_cap, | 776 | .vidioc_g_fmt_vid_cap = zr364xx_vidioc_g_fmt_vid_cap, |
777 | .vidioc_enum_input = zr364xx_vidioc_enum_input, | 777 | .vidioc_enum_input = zr364xx_vidioc_enum_input, |
778 | .vidioc_g_input = zr364xx_vidioc_g_input, | 778 | .vidioc_g_input = zr364xx_vidioc_g_input, |
779 | .vidioc_s_input = zr364xx_vidioc_s_input, | 779 | .vidioc_s_input = zr364xx_vidioc_s_input, |