diff options
-rw-r--r-- | drivers/media/dvb/dvb-core/dvbdev.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/dvb/dvb-core/dvbdev.c b/drivers/media/dvb/dvb-core/dvbdev.c index 18738faecbbc..ce5122e220f6 100644 --- a/drivers/media/dvb/dvb-core/dvbdev.c +++ b/drivers/media/dvb/dvb-core/dvbdev.c | |||
@@ -97,7 +97,7 @@ static int dvb_device_open(struct inode *inode, struct file *file) | |||
97 | } | 97 | } |
98 | 98 | ||
99 | 99 | ||
100 | static struct file_operations dvb_device_fops = | 100 | static const struct file_operations dvb_device_fops = |
101 | { | 101 | { |
102 | .owner = THIS_MODULE, | 102 | .owner = THIS_MODULE, |
103 | .open = dvb_device_open, | 103 | .open = dvb_device_open, |
diff --git a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index ab39f9694e74..1b3b6c1589f7 100644 --- a/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | |||
@@ -1005,7 +1005,7 @@ static int stc_release(struct inode *inode, struct file *file) | |||
1005 | return 0; | 1005 | return 0; |
1006 | } | 1006 | } |
1007 | 1007 | ||
1008 | static struct file_operations stc_fops = { | 1008 | static const struct file_operations stc_fops = { |
1009 | .owner = THIS_MODULE, | 1009 | .owner = THIS_MODULE, |
1010 | .read = stc_read, | 1010 | .read = stc_read, |
1011 | .open = stc_open, | 1011 | .open = stc_open, |