X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fmedia%2Fvideo%2Fvideodev.c;h=30c3822692fb02d2d1fb0a8242147809ca31c6a1;hb=fa027c2a0a0d6d1df6b29ee99048502c93da0dd4;hp=6a0e8ca7294803056cf29d11716d7ed175b35e5f;hpb=c4366889dda8110247be59ca41fddb82951a8c26;p=linux-2.6-omap-h63xx.git diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c index 6a0e8ca7294..30c3822692f 100644 --- a/drivers/media/video/videodev.c +++ b/drivers/media/video/videodev.c @@ -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,