]> git.ipfire.org Git - thirdparty/linux.git/commit
powerpc: cell: make spu_subsys const
authorAdrian Barnaś <abarnas@google.com>
Thu, 18 Sep 2025 14:16:33 +0000 (14:16 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Oct 2025 05:54:58 +0000 (07:54 +0200)
commitb93606c51b5463766c4cf250072df219f20f49bb
treedd9ac3ff19b04eead41d05956aba3b06aae69d9e
parent6db608171a9047f076bea9273061fcc9ad3d4d85
powerpc: cell: make spu_subsys const

Because driver core can properly handle constant struct bus_type,
move the spu_subsys 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patch.msgid.link/20250918141633.339803-1-abarnas@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/powerpc/platforms/cell/spu_base.c