diff options
author | Ricardo B. Marliere <ricardo@marliere.net> | 2024-02-04 19:32:13 +0300 |
---|---|---|
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2024-02-06 18:08:46 +0300 |
commit | a0e35a173a86d93040d0e08f9c38526b6cf6c1d1 (patch) | |
tree | db3cfc7bba38a39a7b3185406ff773fe79a665d2 /ipc | |
parent | 6613476e225e090cc9aad49be7fa504e290dd33d (diff) | |
download | linux-a0e35a173a86d93040d0e08f9c38526b6cf6c1d1.tar.xz |
hsi: hsi_core: make hsi_bus_type const
Now that the driver core can properly handle constant struct bus_type,
move the hsi_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>
Link: https://lore.kernel.org/r/20240204-bus_cleanup-hsi-v1-1-f9318131e842@marliere.net
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions