Skip to content

Commit

Permalink
V4L/DVB (6482): zr364: make file_operations const
Browse files Browse the repository at this point in the history
zr364: make file_operations const

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Douglas Schilling Landgraf authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent c7ac61c commit bdd3665
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/zr364xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit bdd3665

Please sign in to comment.