]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/videodev.c
[PATCH] mark struct file_operations const 4
[linux-2.6-omap-h63xx.git] / drivers / media / video / videodev.c
index 6a0e8ca7294803056cf29d11716d7ed175b35e5f..30c3822692fb02d2d1fb0a8242147809ca31c6a1 100644 (file)
@@ -1561,7 +1561,7 @@ out:
 }
 
 
-static struct file_operations video_fops;
+static const struct file_operations video_fops;
 
 /**
  *     video_register_device - register video4linux devices
@@ -1709,7 +1709,7 @@ void video_unregister_device(struct video_device *vfd)
 /*
  * Video fs operations
  */
-static struct file_operations video_fops=
+static const struct file_operations video_fops=
 {
        .owner          = THIS_MODULE,
        .llseek         = no_llseek,