diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2009-01-11 04:12:43 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-30 11:42:34 -0400 |
commit | 784e29d2031b535637f65a8b81fb0871c7c51b3f (patch) | |
tree | 843622fb757070e5ad20c969c08617a87b57cc55 /drivers/media/dvb/ttpci | |
parent | c675e79c917c02a54f54fcac3776ccf0b428bd37 (diff) |
V4L/DVB (10391): dvb: constify VFTs
dvb: constify VFTs
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/ttpci')
-rw-r--r-- | drivers/media/dvb/ttpci/av7110.c | 2 | ||||
-rw-r--r-- | drivers/media/dvb/ttpci/av7110_av.c | 4 | ||||
-rw-r--r-- | drivers/media/dvb/ttpci/av7110_ca.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c index aa1ff524256e..4624cee93e74 100644 --- a/drivers/media/dvb/ttpci/av7110.c +++ b/drivers/media/dvb/ttpci/av7110.c | |||
@@ -725,7 +725,7 @@ static int dvb_osd_ioctl(struct inode *inode, struct file *file, | |||
725 | } | 725 | } |
726 | 726 | ||
727 | 727 | ||
728 | static struct file_operations dvb_osd_fops = { | 728 | static const struct file_operations dvb_osd_fops = { |
729 | .owner = THIS_MODULE, | 729 | .owner = THIS_MODULE, |
730 | .ioctl = dvb_generic_ioctl, | 730 | .ioctl = dvb_generic_ioctl, |
731 | .open = dvb_generic_open, | 731 | .open = dvb_generic_open, |
diff --git a/drivers/media/dvb/ttpci/av7110_av.c b/drivers/media/dvb/ttpci/av7110_av.c index bdc62acf2099..e4d0900d5121 100644 --- a/drivers/media/dvb/ttpci/av7110_av.c +++ b/drivers/media/dvb/ttpci/av7110_av.c | |||
@@ -1456,7 +1456,7 @@ static int dvb_audio_release(struct inode *inode, struct file *file) | |||
1456 | * driver registration | 1456 | * driver registration |
1457 | ******************************************************************************/ | 1457 | ******************************************************************************/ |
1458 | 1458 | ||
1459 | static struct file_operations dvb_video_fops = { | 1459 | static const struct file_operations dvb_video_fops = { |
1460 | .owner = THIS_MODULE, | 1460 | .owner = THIS_MODULE, |
1461 | .write = dvb_video_write, | 1461 | .write = dvb_video_write, |
1462 | .ioctl = dvb_generic_ioctl, | 1462 | .ioctl = dvb_generic_ioctl, |
@@ -1474,7 +1474,7 @@ static struct dvb_device dvbdev_video = { | |||
1474 | .kernel_ioctl = dvb_video_ioctl, | 1474 | .kernel_ioctl = dvb_video_ioctl, |
1475 | }; | 1475 | }; |
1476 | 1476 | ||
1477 | static struct file_operations dvb_audio_fops = { | 1477 | static const struct file_operations dvb_audio_fops = { |
1478 | .owner = THIS_MODULE, | 1478 | .owner = THIS_MODULE, |
1479 | .write = dvb_audio_write, | 1479 | .write = dvb_audio_write, |
1480 | .ioctl = dvb_generic_ioctl, | 1480 | .ioctl = dvb_generic_ioctl, |
diff --git a/drivers/media/dvb/ttpci/av7110_ca.c b/drivers/media/dvb/ttpci/av7110_ca.c index 261135ded481..c7a65b1544a3 100644 --- a/drivers/media/dvb/ttpci/av7110_ca.c +++ b/drivers/media/dvb/ttpci/av7110_ca.c | |||
@@ -345,7 +345,7 @@ static ssize_t dvb_ca_read(struct file *file, char __user *buf, | |||
345 | return ci_ll_read(&av7110->ci_rbuffer, file, buf, count, ppos); | 345 | return ci_ll_read(&av7110->ci_rbuffer, file, buf, count, ppos); |
346 | } | 346 | } |
347 | 347 | ||
348 | static struct file_operations dvb_ca_fops = { | 348 | static const struct file_operations dvb_ca_fops = { |
349 | .owner = THIS_MODULE, | 349 | .owner = THIS_MODULE, |
350 | .read = dvb_ca_read, | 350 | .read = dvb_ca_read, |
351 | .write = dvb_ca_write, | 351 | .write = dvb_ca_write, |