summaryrefslogtreecommitdiffstats
path: root/drivers/media/radio/si470x
diff options
context:
space:
mode:
authorRikard Falkeborn <rikard.falkeborn@gmail.com>2021-10-13 00:11:44 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2021-11-30 12:00:26 +0100
commit30162960165fe608f505d2564a9abc8514ffb7df (patch)
treed3716bfe11af0be0c3221b1f147625bbba21348d /drivers/media/radio/si470x
parent61b20ddec90075b0fd33394e0425fd01e627a0a9 (diff)
downloadlinux-30162960165fe608f505d2564a9abc8514ffb7df.tar.bz2
media: staging: media: rkvdec: Constify static struct v4l2_m2m_ops
The only usage of rkvdec_m2m_ops is to pass its address to v4l2_m2m_init(), which takes a pointer to const v4l2_m2m_ops as argument. Make it const to allow the compiler to put it in read-only memory. Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com> Reviewed-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.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/radio/si470x')
0 files changed, 0 insertions, 0 deletions