diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-09 20:27:48 -0300 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-16 11:46:33 +0100 |
commit | 044c566d05035af5092f65a2912a28312dada8fe (patch) | |
tree | ae333008d6abed8fd8329636e680c2310f9907f9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 45d6ed917020855f0ca3ffbe549aba96ba992983 (diff) |
media: bt8xx: make bttv_sub_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the bttv_sub_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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions