diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-04 12:23:29 -0300 |
---|---|---|
committer | Niklas Cassel <cassel@kernel.org> | 2024-02-06 10:41:57 +0100 |
commit | a9dde2823c3330503fb6906d18c7bcced7b280af (patch) | |
tree | 28f7c51f1a13a53d01a4a5cdeadde60ae72e9883 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 54be6c6c5ae8e0d93a6c4641cb7528eb0b6ba478 (diff) |
ata: pata_parport: make pata_parport_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the pata_parport_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: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions