diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2021-05-12 19:35:14 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-02 13:26:11 +0200 |
commit | 6cf16148899fc021dbd352d0177ff015ab12823b (patch) | |
tree | 2d22b882bc50210125c9fb6a296b20a9ef92bd7e /drivers/media/platform | |
parent | 1a4520090681853e6b850cbe54b27247a013e0e5 (diff) | |
download | lwn-6cf16148899fc021dbd352d0177ff015ab12823b.tar.gz lwn-6cf16148899fc021dbd352d0177ff015ab12823b.zip |
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>
Diffstat (limited to 'drivers/media/platform')
0 files changed, 0 insertions, 0 deletions