OpenCloudOS-Kernel/drivers/media/radio/si4713
Rikard Falkeborn 6cf1614889 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>
2021-06-02 13:26:11 +02:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
radio-platform-si4713.c media: radio: si4713: constify static struct v4l2_ioctl_ops 2021-06-02 13:26:11 +02:00
radio-usb-si4713.c media: radio: remove redundant assignment to variable retval 2020-08-06 11:28:21 +02:00
si4713.c media: si4713: remove trailing semicolon in macro definition 2020-12-03 08:54:13 +01:00
si4713.h [media] include/media: move platform_data to linux/platform_data/media 2015-11-17 06:58:42 -02:00