提交 27a643b1 编写于 作者: J Jan Engelhardt 提交者: Mauro Carvalho Chehab

V4L/DVB (7140): constify function pointer tables

Signed-off-by: NJan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 c1b4d927
......@@ -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,
......
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册