Merge branch 'master' into for_paulus
[linux-drm-fsl-dcu.git] / drivers / media / video / c-qcam.c
index 22a7386bbea6f537b8f8b30dc32965ef5609fe7f..925ff17efbbcbedea434bef38134ef0c1a5ecae2 100644 (file)
@@ -34,6 +34,7 @@
 #include <linux/parport.h>
 #include <linux/sched.h>
 #include <linux/videodev.h>
+#include <media/v4l2-common.h>
 #include <linux/mutex.h>
 
 #include <asm/uaccess.h>
@@ -683,7 +684,7 @@ static ssize_t qcam_read(struct file *file, char __user *buf,
 }
 
 /* video device template */
-static struct file_operations qcam_fops = {
+static const struct file_operations qcam_fops = {
        .owner          = THIS_MODULE,
        .open           = video_exclusive_open,
        .release        = video_exclusive_release,