diff options
| author | Ricardo B. Marliere <[email protected]> | 2024-02-04 15:56:44 +0000 |
|---|---|---|
| committer | Jernej Skrabec <[email protected]> | 2024-02-11 20:24:48 +0000 |
| commit | 0daf87e7b47e05d0c9ccab648d5e45eaddb547f8 (patch) | |
| tree | bdfb90da093dbd824fdffef8b7e3246e56737552 /drivers/cdx/controller/cdx_controller.c | |
| parent | Linux 6.8-rc1 (diff) | |
| download | kernel-0daf87e7b47e05d0c9ccab648d5e45eaddb547f8.tar.gz kernel-0daf87e7b47e05d0c9ccab648d5e45eaddb547f8.zip | |
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 <[email protected]>
Suggested-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Ricardo B. Marliere <[email protected]>
Acked-by: Jernej Skrabec <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jernej Skrabec <[email protected]>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
