]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/arv.c
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.
[linux-2.6-omap-h63xx.git] / drivers / media / video / arv.c
index 56ebfd5ef6fafc193a3b00ed11520c5d81f0c20b..9e436ad3d34b64b9d695346b238eae9438a329e9 100644 (file)
@@ -29,6 +29,7 @@
 #include <linux/sched.h>
 #include <linux/videodev.h>
 #include <media/v4l2-common.h>
+#include <media/v4l2-ioctl.h>
 #include <linux/mutex.h>
 
 #include <asm/uaccess.h>
@@ -755,7 +756,6 @@ static const struct file_operations ar_fops = {
 
 static struct video_device ar_template = {
        .name           = "Colour AR VGA",
-       .type           = VID_TYPE_CAPTURE,
        .fops           = &ar_fops,
        .release        = ar_release,
        .minor          = -1,