From: Douglas Schilling Landgraf Date: Mon, 29 Oct 2007 03:37:07 +0000 (-0300) Subject: V4L/DVB (6482): zr364: make file_operations const X-Git-Tag: v2.6.25-rc1~1235^2~431 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bdd36658fe7cce3b7dbb6ffb72ad0c9500d57e7a;p=karo-tx-linux.git V4L/DVB (6482): zr364: make file_operations const zr364: make file_operations const Signed-off-by: Douglas Schilling Landgraf Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/zr364xx.c b/drivers/media/video/zr364xx.c index 6f1892585cbb..1fdbb46de7f3 100644 --- a/drivers/media/video/zr364xx.c +++ b/drivers/media/video/zr364xx.c @@ -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,