diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-26 10:43:43 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-27 14:47:20 +0200 |
commit | 96cc6956c6f097bae8f143f700a2795959b20a44 (patch) | |
tree | ed8025f85ce4168a43e152e35e2dbbb7c0d3baaf /drivers/media/radio/si4713 | |
parent | media: dib8000: remove some bogus dead code (diff) | |
download | linux-96cc6956c6f097bae8f143f700a2795959b20a44.tar.xz linux-96cc6956c6f097bae8f143f700a2795959b20a44.zip |
media: radio: make video_device const
Make these const as they are only used in a copy operation.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/radio/si4713')
-rw-r--r-- | drivers/media/radio/si4713/radio-platform-si4713.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/si4713/radio-platform-si4713.c b/drivers/media/radio/si4713/radio-platform-si4713.c index 6f93ef1249a6..27339ec495f6 100644 --- a/drivers/media/radio/si4713/radio-platform-si4713.c +++ b/drivers/media/radio/si4713/radio-platform-si4713.c @@ -135,7 +135,7 @@ static struct v4l2_ioctl_ops radio_si4713_ioctl_ops = { }; /* radio_si4713_vdev_template - video device interface */ -static struct video_device radio_si4713_vdev_template = { +static const struct video_device radio_si4713_vdev_template = { .fops = &radio_si4713_fops, .name = "radio-si4713", .release = video_device_release_empty, |