]> pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (6481): radio-gemtek: make file_operations const
authorDouglas Schilling Landgraf <dougsland@gmail.com>
Mon, 29 Oct 2007 02:41:19 +0000 (23:41 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:42 +0000 (19:01 -0200)
make file_operations const

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/radio/radio-gemtek.c

index 5e4b9ddb23c0a07e59998606acfe672f260e02df..d69412f587f833d8a840be7c3873b53fc81b41aa 100644 (file)
@@ -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,