commit | 6cf16148899fc021dbd352d0177ff015ab12823b | [log] [tgz] |
---|---|---|
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | Wed May 12 19:35:14 2021 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Wed Jun 02 13:26:11 2021 +0200 |
tree | 2d22b882bc50210125c9fb6a296b20a9ef92bd7e | |
parent | 1a4520090681853e6b850cbe54b27247a013e0e5 [diff] |
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>