diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-03 16:14:51 -0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-02-06 14:35:42 +0000 |
commit | f60ce0e4bbf385a938e89b6dcead1eea89b83741 (patch) | |
tree | 309b8ad28de493dd8746f7bcd5641fcc8a598966 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 88cddfb7bf23b06876da6c3e9f296e666d0f6332 (diff) |
serial: core: make serial_base_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the serial_base_bus_type 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-tty-v1-2-86b698c82efe@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