aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2021-11-27 10:49:44 +0100
committerMauro Carvalho Chehab <[email protected]>2021-12-14 15:09:14 +0100
commit34b1df99a5d4a6f3c354fd5ff0ddfbf4f67db2bc (patch)
treec5ee3bf2ccacaf136ef17063c921f717821d048e /tools/perf/scripts/python
parent3d5831a40d3464eea158180eb12cbd81c5edfb6a (diff)
media: staging: max96712: Constify static v4l2_subdev_ops
The only usage of max96712_subdev_ops is to pass its address to v4l2_i2c_subdev_init() which takes a pointer to const struct v4l2_subdev_ops as argument. Make it const to allow the compiler to put it in read-only memory. Link: https://lore.kernel.org/linux-media/[email protected] Signed-off-by: Rikard Falkeborn <[email protected]> Reviewed-by: Niklas S\xF6derlund <[email protected]> Reviewed-by: Kieran Bingham <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions