Re: [PATCH] arch: powerpc: ps3: Make ps3_system_bus_type const
From: Geert Uytterhoeven
Date: Fri Sep 19 2025 - 04:07:18 EST
On Thu, 18 Sept 2025 at 13:49, Adrian Barnaś <abarnas@xxxxxxxxxx> 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>
Reviewed-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds