V4L/DVB (7140): constify function pointer tables
authorJan Engelhardt <jengelh@computergmbh.de>
Tue, 22 Apr 2008 17:42:01 +0000 (14:42 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:15 +0000 (14:07 -0300)
Signed-off-by: Jan Engelhardt <jengelh@computergmbh.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/dvb-core/dvbdev.c
drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c

index 18738fa..ce5122e 100644 (file)
@@ -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,
index ab39f96..1b3b6c1 100644 (file)
@@ -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,