Explorar o código

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 %!s(int64=17) %!d(string=hai) anos
pai
achega
c7ac61c469
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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,