diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-03 12:31:27 -0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-05 12:57:46 +0100 |
commit | e248cde98470ca3d9449e2b744b11279681f8e18 (patch) | |
tree | 8d865281d3ee4478924eea09d3197f16c9b53ef0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 009d312a3fd93a2bfed93d7a1c76e1f362384f08 (diff) |
media: media-devnode: make media_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the media_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions