[PATCH] arch: powerpc: ps3: Make ps3_system_bus_type const
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Thu Sep 18 23:05:04 AEST 2025
On Thu, Sep 18, 2025 at 11:48:40AM +0000, Adrian Barnaś wrote:
> Because driver core can properly handle constant struct bus_type,
> move the ps3_system_bus_type to be a constant structure as well,
> placing it into read-only memory which can not be modified at runtime.
>
> Signed-off-by: Adrian Barnaś <abarnas at google.com>
> ---
> arch/powerpc/platforms/ps3/system-bus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Greg Kroah-Hartman <gregkh at linuxfoundation.org>
More information about the Linuxppc-dev
mailing list