powerpc: Mark probe_machine() __init and static
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 24 Nov 2021 09:32:54 +0000 (20:32 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 29 Nov 2021 11:49:26 +0000 (22:49 +1100)
commitab85a273957eadfcf7906bcd8a0adf5909d802ee
tree7caec288bd0f28f7b6a7b25117d66d7e029c415c
parenta4ac0d249a5db80e79d573db9e4ad29354b643a8
powerpc: Mark probe_machine() __init and static

Prior to commit b1923caa6e64 ("powerpc: Merge 32-bit and 64-bit
setup_arch()") probe_machine() was called from setup_32/64.c and lived
in setup-common.c. But now it's only called from setup-common.c so it
can be static and __init, and we don't need the declaration in
machdep.h either.

Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211124093254.1054750-6-mpe@ellerman.id.au
arch/powerpc/include/asm/machdep.h
arch/powerpc/kernel/setup-common.c