From: Douglas Schilling Landgraf Date: Mon, 29 Oct 2007 02:41:19 +0000 (-0300) Subject: V4L/DVB (6481): radio-gemtek: make file_operations const X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c7ac61c4693da113fd067ccfa4246df1e8a5c75e;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git V4L/DVB (6481): radio-gemtek: make file_operations const make file_operations const Signed-off-by: Douglas Schilling Landgraf Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/radio/radio-gemtek.c b/drivers/media/radio/radio-gemtek.c index 5e4b9ddb23c0..d69412f587f8 100644 --- a/drivers/media/radio/radio-gemtek.c +++ b/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,