V4L/DVB (6482): zr364: make file_operations const
authorDouglas Schilling Landgraf <dougsland@gmail.com>
Mon, 29 Oct 2007 03:37:07 +0000 (00:37 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:44 +0000 (19:01 -0200)
zr364: make file_operations const

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/zr364xx.c

index 6f1892585cbbac304eae05df4324fb6931c7f58b..1fdbb46de7f3ed94760b3dce16c963909b25e285 100644 (file)
@@ -749,7 +749,7 @@ static int zr364xx_mmap(struct file *file, struct vm_area_struct *vma)
 }
 
 
-static struct file_operations zr364xx_fops = {
+static const struct file_operations zr364xx_fops = {
        .owner = THIS_MODULE,
        .open = zr364xx_open,
        .release = zr364xx_release,