powerpc/512x: Add __init attribute to eligible functions
authorNick Child <nick.child@ibm.com>
Thu, 16 Dec 2021 22:00:34 +0000 (17:00 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Dec 2021 11:33:19 +0000 (22:33 +1100)
commit2493a24271dab3d5c1235a13cf6ee2d12773c9a1
tree57286d6e52b9b0380c30f1044293cc9969de39ad
parent407454cafd3f1878dae6bb839d8bac2db264300f
powerpc/512x: Add __init attribute to eligible functions

Some functions defined in 'arch/powerpc/platforms/512x' are deserving of an
`__init` macro attribute. These functions are only called by other
initialization functions and therefore should inherit the attribute.
Also, change function declarations in header files to include `__init`.

Signed-off-by: Nick Child <nick.child@ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211216220035.605465-20-nick.child@ibm.com
arch/powerpc/platforms/512x/clock-commonclk.c
arch/powerpc/platforms/512x/mpc512x.h
arch/powerpc/platforms/512x/mpc512x_shared.c