media: radio: si4713: constify static struct v4l2_ioctl_ops
authorRikard Falkeborn <rikard.falkeborn@gmail.com>
Wed, 12 May 2021 17:35:14 +0000 (19:35 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 2 Jun 2021 11:26:11 +0000 (13:26 +0200)
commit6cf16148899fc021dbd352d0177ff015ab12823b
tree2d22b882bc50210125c9fb6a296b20a9ef92bd7e
parent1a4520090681853e6b850cbe54b27247a013e0e5
media: radio: si4713: constify static struct v4l2_ioctl_ops

The only usage of radio_si4713_ioctl_ops is to assign its address to the
ioctl_ops field in the video_device struct, which is a pointer to const.
Make it const to allow the compiler to put it in read-only memory.

Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/radio/si4713/radio-platform-si4713.c