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/bt8xx/bttv-vbi.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/bt8xx/bttv-vbi.c')
-rw-r--r-- | drivers/media/video/bt8xx/bttv-vbi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/bt8xx/bttv-vbi.c b/drivers/media/video/bt8xx/bttv-vbi.c index bfdbc469e30f..68f28e5fa040 100644 --- a/drivers/media/video/bt8xx/bttv-vbi.c +++ b/drivers/media/video/bt8xx/bttv-vbi.c | |||
@@ -303,7 +303,7 @@ static int try_fmt(struct v4l2_vbi_format *f, const struct bttv_tvnorm *tvnorm, | |||
303 | return 0; | 303 | return 0; |
304 | } | 304 | } |
305 | 305 | ||
306 | int bttv_try_fmt_vbi(struct file *file, void *f, struct v4l2_format *frt) | 306 | int bttv_try_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt) |
307 | { | 307 | { |
308 | struct bttv_fh *fh = f; | 308 | struct bttv_fh *fh = f; |
309 | struct bttv *btv = fh->btv; | 309 | struct bttv *btv = fh->btv; |
@@ -321,7 +321,7 @@ int bttv_try_fmt_vbi(struct file *file, void *f, struct v4l2_format *frt) | |||
321 | } | 321 | } |
322 | 322 | ||
323 | 323 | ||
324 | int bttv_s_fmt_vbi(struct file *file, void *f, struct v4l2_format *frt) | 324 | int bttv_s_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt) |
325 | { | 325 | { |
326 | struct bttv_fh *fh = f; | 326 | struct bttv_fh *fh = f; |
327 | struct bttv *btv = fh->btv; | 327 | struct bttv *btv = fh->btv; |
@@ -369,7 +369,7 @@ int bttv_s_fmt_vbi(struct file *file, void *f, struct v4l2_format *frt) | |||
369 | } | 369 | } |
370 | 370 | ||
371 | 371 | ||
372 | int bttv_g_fmt_vbi(struct file *file, void *f, struct v4l2_format *frt) | 372 | int bttv_g_fmt_vbi_cap(struct file *file, void *f, struct v4l2_format *frt) |
373 | { | 373 | { |
374 | struct bttv_fh *fh = f; | 374 | struct bttv_fh *fh = f; |
375 | const struct bttv_tvnorm *tvnorm; | 375 | const struct bttv_tvnorm *tvnorm; |