Skip to content

Commit

Permalink
V4L/DVB (6481): radio-gemtek: make file_operations const
Browse files Browse the repository at this point in the history
make file_operations const

Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Douglas Schilling Landgraf authored and Mauro Carvalho Chehab committed Jan 25, 2008
1 parent 073ad9a commit c7ac61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/radio/radio-gemtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c7ac61c

Please sign in to comment.