提交 b104729e 编写于 作者: B Bhumika Goyal 提交者: 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: NBhumika Goyal <bhumirks@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册