diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-04 12:56:44 -0300 |
---|---|---|
committer | Jernej Skrabec <jernej.skrabec@gmail.com> | 2024-02-11 21:24:48 +0100 |
commit | 0daf87e7b47e05d0c9ccab648d5e45eaddb547f8 (patch) | |
tree | bdfb90da093dbd824fdffef8b7e3246e56737552 /scripts/gdb/linux/tasks.py | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) |
bus: sunxi-rsb: make sunxi_rsb_bus const
Now that the driver core can properly handle constant struct bus_type,
move the sunxi_rsb_bus 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>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20240204-bus_cleanup-bus-v1-1-bda309c4b829@marliere.net
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions