#include <linux/io.h>
#include <media/v4l2-common.h>
+#include <media/v4l2-ioctl.h>
#include "omap24xxcam.h"
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);
}
static struct file_operations omap24xxcam_fops = {
- .owner = THIS_MODULE,
.llseek = no_llseek,
.ioctl = video_ioctl2,
.poll = omap24xxcam_poll,