]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 18738faecbbc51adc7f9311c066779cafdee0b88..ce5122e220f651ebd4853f368855d49195fd9f2b 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 ab39f9694e748336d227f4ee584e0a53bd71c4c5..1b3b6c1589f7fe0f0824ba801805aada2ce380c1 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,