V4L/DVB (6482): zr364: make file_operations const
zr364: make file_operations const Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
Родитель
c7ac61c469
Коммит
bdd36658fe
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче