mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
arch: powerpc: ps3: Make ps3_system_bus_type const
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@google.com> Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Acked-by: Geoff Levand <geoff@infradead.org> Link: https://patch.msgid.link/20250918114840.53581-1-abarnas@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8ce6b508f2
commit
8ae7090dc7
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue