diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-26 13:32:53 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-27 14:47:37 +0200 |
commit | b104729e12aeecc818144d95e3d600c5f276a0c2 (patch) | |
tree | ebd473af50fce005cfea93cd50030ce2303ea6ba | |
parent | media: radio: make video_device const (diff) | |
download | linux-b104729e12aeecc818144d95e3d600c5f276a0c2.tar.xz linux-b104729e12aeecc818144d95e3d600c5f276a0c2.zip |
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>
-rw-r--r-- | drivers/staging/media/bcm2048/radio-bcm2048.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/media/bcm2048/radio-bcm2048.c b/drivers/staging/media/bcm2048/radio-bcm2048.c index 86d7fc20f237..58adaea44eb5 100644 --- a/drivers/staging/media/bcm2048/radio-bcm2048.c +++ b/drivers/staging/media/bcm2048/radio-bcm2048.c @@ -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, |