Commit b104729e authored by Bhumika Goyal's avatar Bhumika Goyal Committed by Mauro Carvalho Chehab

media: Staging: media: radio-bcm2048: make video_device const

Make this const as it is only used in a copy operation.
Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 96cc6956
...@@ -2564,7 +2564,7 @@ static const struct v4l2_ioctl_ops bcm2048_ioctl_ops = { ...@@ -2564,7 +2564,7 @@ static const struct v4l2_ioctl_ops bcm2048_ioctl_ops = {
/* /*
* bcm2048_viddev_template - video device interface * bcm2048_viddev_template - video device interface
*/ */
static struct video_device bcm2048_viddev_template = { static const struct video_device bcm2048_viddev_template = {
.fops = &bcm2048_fops, .fops = &bcm2048_fops,
.name = BCM2048_DRIVER_NAME, .name = BCM2048_DRIVER_NAME,
.release = video_device_release_empty, .release = video_device_release_empty,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment