diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-03 15:11:35 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-17 17:30:30 +0100 |
commit | e1f97d7ef608962de2206a8899c6f18dc4f36fdc (patch) | |
tree | ce919756386aa3618d8affa1262cc3cad81e92e7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | cfd87832dfa1b69069d3e6c598044a5568e1a1ef (diff) |
staging: fieldbus: make anybus_bus const
Now that the driver core can properly handle constant struct bus_type,
move the anybus_bus variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.
Suggested-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Ricardo B. Marliere <ricardo@marliere.net>
Link: https://lore.kernel.org/r/20240203-bus_cleanup-staging-v1-1-a13448ddb4c7@marliere.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions