summaryrefslogtreecommitdiff
path: root/drivers/media/radio/radio-wl1273.c
diff options
context:
space:
mode:
authorBhumika Goyal <bhumirks@gmail.com>2017-08-26 11:43:43 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-08-27 15:47:20 +0300
commit96cc6956c6f097bae8f143f700a2795959b20a44 (patch)
treeed8025f85ce4168a43e152e35e2dbbb7c0d3baaf /drivers/media/radio/radio-wl1273.c
parent47bdf7c6d607335f79deead3aba481c3baf04971 (diff)
downloadlinux-96cc6956c6f097bae8f143f700a2795959b20a44.tar.xz
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/radio-wl1273.c')
-rw-r--r--drivers/media/radio/radio-wl1273.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-wl1273.c b/drivers/media/radio/radio-wl1273.c
index 17e82a9a0109..903fcd5e99c0 100644
--- a/drivers/media/radio/radio-wl1273.c
+++ b/drivers/media/radio/radio-wl1273.c
@@ -1982,7 +1982,7 @@ static const struct v4l2_ioctl_ops wl1273_ioctl_ops = {
.vidioc_log_status = wl1273_fm_vidioc_log_status,
};
-static struct video_device wl1273_viddev_template = {
+static const struct video_device wl1273_viddev_template = {
.fops = &wl1273_fops,
.ioctl_ops = &wl1273_ioctl_ops,
.name = WL1273_FM_DRIVER_NAME,