[PATCH 2/4] powerpc: ps3: make ps3_system_bus_type const

2024-02-04 Thread Ricardo B. Marliere
Now that the driver core can properly handle constant struct bus_type, move the ps3_system_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 Suggested-by: Greg Kroah-Hartman Signed-off-by: Ricardo

Re: [PATCH 2/4] powerpc: ps3: make ps3_system_bus_type const

2024-02-04 Thread Geoff Levand
On 2/4/24 23:21, Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the ps3_system_bus_type variable to be a constant structure as > well, placing it into read-only memory which can not be modified at > runtime. > -static struct bus_type

Re: [PATCH 2/4] powerpc: ps3: make ps3_system_bus_type const

2024-02-04 Thread Geert Uytterhoeven
On Sun, Feb 4, 2024 at 3:23 PM Ricardo B. Marliere wrote: > Now that the driver core can properly handle constant struct bus_type, > move the ps3_system_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