Re: [PATCH] arch: powerpc: ps3: Make ps3_system_bus_type const
From: Greg Kroah-Hartman
Date: Thu Sep 18 2025 - 09:05:08 EST
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@xxxxxxxxxx>
> ---
> arch/powerpc/platforms/ps3/system-bus.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>