aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv/ivtv-fb.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-08-23 10:31:57 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 21:06:48 -0400
commita158f3559334c6314c7876390caffe88c9fdb64d (patch)
tree471c51b781669a5342725fdef3f051e2e8162ba4 /drivers/media/video/ivtv/ivtv-fb.c
parentfd8b281a2809d2bd9119df1fbd717ab2371297cd (diff)
V4L/DVB (6094): ivtv: more ivtv-driver.h cleanups
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-fb.c')
-rw-r--r--drivers/media/video/ivtv/ivtv-fb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/ivtv/ivtv-fb.c b/drivers/media/video/ivtv/ivtv-fb.c
index f5ed2cf1cd87..e80564aed632 100644
--- a/drivers/media/video/ivtv/ivtv-fb.c
+++ b/drivers/media/video/ivtv/ivtv-fb.c
@@ -405,7 +405,7 @@ static int ivtvfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long ar
405 if (itv->is_50hz && trace > 312) trace -= 312; 405 if (itv->is_50hz && trace > 312) trace -= 312;
406 else if (itv->is_60hz && trace > 262) trace -= 262; 406 else if (itv->is_60hz && trace > 262) trace -= 262;
407 if (trace == 1) vblank.flags |= FB_VBLANK_VSYNCING; 407 if (trace == 1) vblank.flags |= FB_VBLANK_VSYNCING;
408 vblank.count = itv->last_vsync_frame; 408 vblank.count = itv->last_vsync_field;
409 vblank.vcount = trace; 409 vblank.vcount = trace;
410 vblank.hcount = 0; 410 vblank.hcount = 0;
411 if (copy_to_user((void __user *)arg, &vblank, sizeof(vblank))) 411 if (copy_to_user((void __user *)arg, &vblank, sizeof(vblank)))