[PATCH] mark struct file_operations const 4
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / media / video / vivi.c
index d4cf5566673149b0708aff82bf42599fa55cc6cb..cfb6b1f0402c0e24885f37b9ad9adcd5a22e0bd3 100644 (file)
@@ -1292,7 +1292,7 @@ vivi_mmap(struct file *file, struct vm_area_struct * vma)
        return ret;
 }
 
-static struct file_operations vivi_fops = {
+static const struct file_operations vivi_fops = {
        .owner          = THIS_MODULE,
        .open           = vivi_open,
        .release        = vivi_release,