]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L: Fix compile for 24xx camera
authorTony Lindgren <tony@atomide.com>
Tue, 29 Apr 2008 06:03:54 +0000 (23:03 -0700)
committerTony Lindgren <tony@atomide.com>
Wed, 30 Apr 2008 00:19:37 +0000 (17:19 -0700)
Fix compile for 24xx camera

Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/media/video/omap/camera_core.c
drivers/media/video/omap24xxcam.c

index dce47fc676d09618a47003807a40600b7bf18d9d..eeedb365f16eaf23dcc9820f5463796b5783b617 100644 (file)
@@ -916,7 +916,7 @@ static int camera_core_open(struct inode *inode, struct file *file)
        vidioc_int_g_fmt_cap(cam->sdev, &format);
        spin_unlock(&cam->img_lock);
 
-       videobuf_queue_pci_init(&fh->vbq, &cam->vbq_ops, NULL, &cam->vbq_lock,
+       videobuf_queue_sg_init(&fh->vbq, &cam->vbq_ops, NULL, &cam->vbq_lock,
                            fh->type, V4L2_FIELD_NONE,
                            sizeof(struct videobuf_buffer), fh);
 
index 4308fec19ccb4e2c2fd73ed127051dd1dd4d7d06..dfd34796d0493345101b385e065c3e978d842a01 100644 (file)
@@ -1493,7 +1493,7 @@ static int omap24xxcam_open(struct inode *inode, struct file *file)
 
        spin_lock_init(&fh->vbq_lock);
 
-       videobuf_queue_pci_init(&fh->vbq, &omap24xxcam_vbq_ops, NULL,
+       videobuf_queue_sg_init(&fh->vbq, &omap24xxcam_vbq_ops, NULL,
                                &fh->vbq_lock, V4L2_BUF_TYPE_VIDEO_CAPTURE,
                                V4L2_FIELD_NONE,
                                sizeof(struct videobuf_buffer), fh);