Skip to content

Commit

Permalink
V4L/DVB (7140): constify function pointer tables
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Jan Engelhardt authored and Mauro Carvalho Chehab committed Apr 24, 2008
1 parent c1b4d92 commit 27a643b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/media/dvb/dvb-core/dvbdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ static int dvb_device_open(struct inode *inode, struct file *file)
}


static struct file_operations dvb_device_fops =
static const struct file_operations dvb_device_fops =
{
.owner = THIS_MODULE,
.open = dvb_device_open,
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ static int stc_release(struct inode *inode, struct file *file)
return 0;
}

static struct file_operations stc_fops = {
static const struct file_operations stc_fops = {
.owner = THIS_MODULE,
.read = stc_read,
.open = stc_open,
Expand Down

0 comments on commit 27a643b

Please sign in to comment.