diff options
Diffstat (limited to 'drivers/media/video/cafe_ccic.c')
-rw-r--r-- | drivers/media/video/cafe_ccic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/cafe_ccic.c b/drivers/media/video/cafe_ccic.c index 3083c8075d13..fb1410c6f864 100644 --- a/drivers/media/video/cafe_ccic.c +++ b/drivers/media/video/cafe_ccic.c | |||
@@ -1715,7 +1715,7 @@ static void cafe_v4l_dev_release(struct video_device *vd) | |||
1715 | * clone it for specific real devices. | 1715 | * clone it for specific real devices. |
1716 | */ | 1716 | */ |
1717 | 1717 | ||
1718 | static struct file_operations cafe_v4l_fops = { | 1718 | static const struct file_operations cafe_v4l_fops = { |
1719 | .owner = THIS_MODULE, | 1719 | .owner = THIS_MODULE, |
1720 | .open = cafe_v4l_open, | 1720 | .open = cafe_v4l_open, |
1721 | .release = cafe_v4l_release, | 1721 | .release = cafe_v4l_release, |
@@ -1969,7 +1969,7 @@ static ssize_t cafe_dfs_read_regs(struct file *file, | |||
1969 | s - cafe_debug_buf); | 1969 | s - cafe_debug_buf); |
1970 | } | 1970 | } |
1971 | 1971 | ||
1972 | static struct file_operations cafe_dfs_reg_ops = { | 1972 | static const struct file_operations cafe_dfs_reg_ops = { |
1973 | .owner = THIS_MODULE, | 1973 | .owner = THIS_MODULE, |
1974 | .read = cafe_dfs_read_regs, | 1974 | .read = cafe_dfs_read_regs, |
1975 | .open = cafe_dfs_open | 1975 | .open = cafe_dfs_open |
@@ -1995,7 +1995,7 @@ static ssize_t cafe_dfs_read_cam(struct file *file, | |||
1995 | s - cafe_debug_buf); | 1995 | s - cafe_debug_buf); |
1996 | } | 1996 | } |
1997 | 1997 | ||
1998 | static struct file_operations cafe_dfs_cam_ops = { | 1998 | static const struct file_operations cafe_dfs_cam_ops = { |
1999 | .owner = THIS_MODULE, | 1999 | .owner = THIS_MODULE, |
2000 | .read = cafe_dfs_read_cam, | 2000 | .read = cafe_dfs_read_cam, |
2001 | .open = cafe_dfs_open | 2001 | .open = cafe_dfs_open |