aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@computergmbh.de>2008-04-22 13:42:01 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:15 -0400
commit27a643b1a9eded6a1b54df2743a7fb4383fd0cf9 (patch)
treeed13335d8ac783dad53f22ab5b8110c366934255 /drivers
parentc1b4d92789ada9ea6b7f1156ede7022eab309eab (diff)
V4L/DVB (7140): constify function pointer tables
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/dvb/dvb-core/dvbdev.c2
-rw-r--r--drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c2
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
100static struct file_operations dvb_device_fops = 100static 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
1008static struct file_operations stc_fops = { 1008static 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,