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/saa7134/saa7134-empress.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/saa7134/saa7134-empress.c')
-rw-r--r-- | drivers/media/video/saa7134/saa7134-empress.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/saa7134/saa7134-empress.c b/drivers/media/video/saa7134/saa7134-empress.c index 3ae71a340822..e11700eb3e5a 100644 --- a/drivers/media/video/saa7134/saa7134-empress.c +++ b/drivers/media/video/saa7134/saa7134-empress.c | |||
@@ -208,7 +208,7 @@ static int empress_s_input(struct file *file, void *priv, unsigned int i) | |||
208 | return 0; | 208 | return 0; |
209 | } | 209 | } |
210 | 210 | ||
211 | static int empress_enum_fmt_cap(struct file *file, void *priv, | 211 | static int empress_enum_fmt_vid_cap(struct file *file, void *priv, |
212 | struct v4l2_fmtdesc *f) | 212 | struct v4l2_fmtdesc *f) |
213 | { | 213 | { |
214 | if (f->index != 0) | 214 | if (f->index != 0) |
@@ -220,7 +220,7 @@ static int empress_enum_fmt_cap(struct file *file, void *priv, | |||
220 | return 0; | 220 | return 0; |
221 | } | 221 | } |
222 | 222 | ||
223 | static int empress_g_fmt_cap(struct file *file, void *priv, | 223 | static int empress_g_fmt_vid_cap(struct file *file, void *priv, |
224 | struct v4l2_format *f) | 224 | struct v4l2_format *f) |
225 | { | 225 | { |
226 | struct saa7134_dev *dev = file->private_data; | 226 | struct saa7134_dev *dev = file->private_data; |
@@ -233,7 +233,7 @@ static int empress_g_fmt_cap(struct file *file, void *priv, | |||
233 | return 0; | 233 | return 0; |
234 | } | 234 | } |
235 | 235 | ||
236 | static int empress_s_fmt_cap(struct file *file, void *priv, | 236 | static int empress_s_fmt_vid_cap(struct file *file, void *priv, |
237 | struct v4l2_format *f) | 237 | struct v4l2_format *f) |
238 | { | 238 | { |
239 | struct saa7134_dev *dev = file->private_data; | 239 | struct saa7134_dev *dev = file->private_data; |
@@ -348,9 +348,9 @@ static struct video_device saa7134_empress_template = | |||
348 | .minor = -1, | 348 | .minor = -1, |
349 | 349 | ||
350 | .vidioc_querycap = empress_querycap, | 350 | .vidioc_querycap = empress_querycap, |
351 | .vidioc_enum_fmt_cap = empress_enum_fmt_cap, | 351 | .vidioc_enum_fmt_vid_cap = empress_enum_fmt_vid_cap, |
352 | .vidioc_s_fmt_cap = empress_s_fmt_cap, | 352 | .vidioc_s_fmt_vid_cap = empress_s_fmt_vid_cap, |
353 | .vidioc_g_fmt_cap = empress_g_fmt_cap, | 353 | .vidioc_g_fmt_vid_cap = empress_g_fmt_vid_cap, |
354 | .vidioc_reqbufs = empress_reqbufs, | 354 | .vidioc_reqbufs = empress_reqbufs, |
355 | .vidioc_querybuf = empress_querybuf, | 355 | .vidioc_querybuf = empress_querybuf, |
356 | .vidioc_qbuf = empress_qbuf, | 356 | .vidioc_qbuf = empress_qbuf, |