powerpc/embedded6xx: Add __init attribute to eligible functions
authorNick Child <nick.child@ibm.com>
Thu, 16 Dec 2021 22:00:31 +0000 (17:00 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Dec 2021 11:33:17 +0000 (22:33 +1100)
commitc0dc225ae7dd9f01d46ea779f7f169d49aa59b78
treea08d8eba70b6fe94c562ba4515732d56aa5dccea
parent1ee969be25ed21a1192ca569ad827013eb7fac04
powerpc/embedded6xx: Add __init attribute to eligible functions

Some functions defined in 'arch/powerpc/platforms/embedded6xx' 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-17-nick.child@ibm.com
arch/powerpc/platforms/embedded6xx/hlwd-pic.c
arch/powerpc/platforms/embedded6xx/hlwd-pic.h
arch/powerpc/platforms/embedded6xx/holly.c
arch/powerpc/platforms/embedded6xx/usbgecko_udbg.c
arch/powerpc/platforms/embedded6xx/wii.c