浏览代码

V4L/DVB (6481): radio-gemtek: make file_operations const

make file_operations const

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Douglas Schilling Landgraf 17 年之前
父节点
当前提交
c7ac61c469
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/media/radio/radio-gemtek.c

+ 1 - 1
drivers/media/radio/radio-gemtek.c

@@ -392,7 +392,7 @@ static struct v4l2_queryctrl radio_qctrl[] = {
 	}
 };
 
-static struct file_operations gemtek_fops = {
+static const struct file_operations gemtek_fops = {
 	.owner		= THIS_MODULE,
 	.open		= video_exclusive_open,
 	.release	= video_exclusive_release,