powerpc/512x: Make mpc512x_select_reset_compat() static
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Fri, 18 Aug 2023 06:51:48 +0000 (08:51 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 18 Aug 2023 07:02:40 +0000 (17:02 +1000)
commitbe922070d0914c6642256ceec6b7be75c0a5ddf3
tree9f4720e560041a106687cbfb0a07b854f5440ba2
parentf94a84a0914841d79a38df7cc75512d88b31a0dc
powerpc/512x: Make mpc512x_select_reset_compat() static

mpc512x_select_reset_compat() is only used in the file it
is defined.

Make it static.

Move mpc512x_restart_init() after mpc512x_select_reset_compat().

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/36a19e13025dbf17e92e832dd24150642b0e9bad.1692341499.git.christophe.leroy@csgroup.eu
arch/powerpc/platforms/512x/mpc512x.h
arch/powerpc/platforms/512x/mpc512x_shared.c