diff options
author | Rikard Falkeborn <[email protected]> | 2020-11-19 23:22:48 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2021-02-06 09:35:03 +0100 |
commit | ded8f0355a8821262a27a398d3f5587c29665dae (patch) | |
tree | 355b4f72fde5621518539871af1bbf15938c086d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 85cb767cbfcd89d9949fca91bda8e7330f33e12a (diff) |
media: i2c: rdacm20: Constify static structs
The only usage of rdacm20_video_ops is to assign it to the video field
in the v4l2_subdev_ops struct which is a pointer to const, and the only
usage of rdacm20_subdev_ops is to pass its address to
v4l2_i2c_subdev_init() which accepts a pointer to const. Make them const
to allow the compiler to put them in read-only memory.
Signed-off-by: Rikard Falkeborn <[email protected]>
Acked-by: Jacopo Mondi <[email protected]>
Reviewed-by: Kieran Bingham <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions