Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 27a643b1 authored by Jan Engelhardt's avatar Jan Engelhardt Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (7140): constify function pointer tables

parent c1b4d927
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,
+1 −1
Original line number Diff line number Diff line
@@ -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,