[PATCH] arch: powerpc: ps3: Make ps3_system_bus_type const
Geert Uytterhoeven
geert at linux-m68k.org
Fri Sep 19 18:07:03 AEST 2025
On Thu, 18 Sept 2025 at 13:49, Adrian Barnaś <abarnas at google.com> 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>
Reviewed-by: Geert Uytterhoeven <geert at linux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert at linux-m68k.org
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
More information about the Linuxppc-dev
mailing list