aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvision/usbvision-video.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r--drivers/media/video/usbvision/usbvision-video.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c
index bdd6301d2a47..4eb7330b96f8 100644
--- a/drivers/media/video/usbvision/usbvision-video.c
+++ b/drivers/media/video/usbvision/usbvision-video.c
@@ -1475,7 +1475,7 @@ static int usbvision_vbi_ioctl(struct inode *inode, struct file *file,
1475// 1475//
1476 1476
1477// Video template 1477// Video template
1478static struct file_operations usbvision_fops = { 1478static const struct file_operations usbvision_fops = {
1479 .owner = THIS_MODULE, 1479 .owner = THIS_MODULE,
1480 .open = usbvision_v4l2_open, 1480 .open = usbvision_v4l2_open,
1481 .release = usbvision_v4l2_close, 1481 .release = usbvision_v4l2_close,
@@ -1496,7 +1496,7 @@ static struct video_device usbvision_video_template = {
1496 1496
1497 1497
1498// Radio template 1498// Radio template
1499static struct file_operations usbvision_radio_fops = { 1499static const struct file_operations usbvision_radio_fops = {
1500 .owner = THIS_MODULE, 1500 .owner = THIS_MODULE,
1501 .open = usbvision_radio_open, 1501 .open = usbvision_radio_open,
1502 .release = usbvision_radio_close, 1502 .release = usbvision_radio_close,
@@ -1517,7 +1517,7 @@ static struct video_device usbvision_radio_template=
1517 1517
1518 1518
1519// vbi template 1519// vbi template
1520static struct file_operations usbvision_vbi_fops = { 1520static const struct file_operations usbvision_vbi_fops = {
1521 .owner = THIS_MODULE, 1521 .owner = THIS_MODULE,
1522 .open = usbvision_vbi_open, 1522 .open = usbvision_vbi_open,
1523 .release = usbvision_vbi_close, 1523 .release = usbvision_vbi_close,