aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx88
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx88')
-rw-r--r--drivers/media/video/cx88/cx88-blackbird.c2
-rw-r--r--drivers/media/video/cx88/cx88-video.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cx88/cx88-blackbird.c b/drivers/media/video/cx88/cx88-blackbird.c
index 0cf0360588e6..9a7a2996f20f 100644
--- a/drivers/media/video/cx88/cx88-blackbird.c
+++ b/drivers/media/video/cx88/cx88-blackbird.c
@@ -1051,7 +1051,7 @@ mpeg_mmap(struct file *file, struct vm_area_struct * vma)
1051 return videobuf_mmap_mapper(&fh->mpegq, vma); 1051 return videobuf_mmap_mapper(&fh->mpegq, vma);
1052} 1052}
1053 1053
1054static struct file_operations mpeg_fops = 1054static const struct file_operations mpeg_fops =
1055{ 1055{
1056 .owner = THIS_MODULE, 1056 .owner = THIS_MODULE,
1057 .open = mpeg_open, 1057 .open = mpeg_open,
diff --git a/drivers/media/video/cx88/cx88-video.c b/drivers/media/video/cx88/cx88-video.c
index 8613378428fd..c86a7e06235b 100644
--- a/drivers/media/video/cx88/cx88-video.c
+++ b/drivers/media/video/cx88/cx88-video.c
@@ -1808,7 +1808,7 @@ static irqreturn_t cx8800_irq(int irq, void *dev_id)
1808/* ----------------------------------------------------------- */ 1808/* ----------------------------------------------------------- */
1809/* exported stuff */ 1809/* exported stuff */
1810 1810
1811static struct file_operations video_fops = 1811static const struct file_operations video_fops =
1812{ 1812{
1813 .owner = THIS_MODULE, 1813 .owner = THIS_MODULE,
1814 .open = video_open, 1814 .open = video_open,
@@ -1839,7 +1839,7 @@ static struct video_device cx8800_vbi_template =
1839 .minor = -1, 1839 .minor = -1,
1840}; 1840};
1841 1841
1842static struct file_operations radio_fops = 1842static const struct file_operations radio_fops =
1843{ 1843{
1844 .owner = THIS_MODULE, 1844 .owner = THIS_MODULE,
1845 .open = video_open, 1845 .open = video_open,