aboutsummaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2007-07-20 10:30:32 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-10-09 22:03:04 -0300
commitd715e766ddf4786a06abe6a841e956ad8a875963 (patch)
tree54785eb04145a565b14f080dae807fbeea145525 /drivers/media
parentbe383bd312c4defab8bd4bde8c06fea5bfe0996b (diff)
V4L/DVB (5905): ivtv-fb: Use proper ioctl value
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/ivtv/ivtv-fb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/ivtv/ivtv-fb.c b/drivers/media/video/ivtv/ivtv-fb.c
index 01cd65328e8..55265bd5c25 100644
--- a/drivers/media/video/ivtv/ivtv-fb.c
+++ b/drivers/media/video/ivtv/ivtv-fb.c
@@ -424,10 +424,10 @@ static int ivtvfb_ioctl(struct fb_info *info, unsigned int cmd, unsigned long ar
finish_wait(&itv->vsync_waitq, &wait);
return rc;
- case IVTVFB_IOCTL_PREP_FRAME: {
- struct ivtvfb_ioctl_dma_host_to_ivtv_args args;
+ case IVTVFB_IOC_DMA_FRAME: {
+ struct ivtvfb_dma_frame args;
- IVTV_FB_DEBUG_INFO("IVTVFB_IOCTL_PREP_FRAME\n");
+ IVTV_FB_DEBUG_INFO("IVTVFB_IOC_DMA_FRAME\n");
if (copy_from_user(&args, (void __user *)arg, sizeof(args)))
return -EFAULT;