media: Staging: media: radio-bcm2048: make video_device const
Make this const as it is only used in a copy operation. Signed-off-by: Bhumika Goyal <bhumirks@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
96cc6956c6
commit
b104729e12
|
@ -2564,7 +2564,7 @@ static const struct v4l2_ioctl_ops bcm2048_ioctl_ops = {
|
|||
/*
|
||||
* bcm2048_viddev_template - video device interface
|
||||
*/
|
||||
static struct video_device bcm2048_viddev_template = {
|
||||
static const struct video_device bcm2048_viddev_template = {
|
||||
.fops = &bcm2048_fops,
|
||||
.name = BCM2048_DRIVER_NAME,
|
||||
.release = video_device_release_empty,
|
||||
|
|
Loading…
Reference in New Issue