]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/44x: Add __init attribute to eligible functions
authorNick Child <nick.child@ibm.com>
Thu, 16 Dec 2021 22:00:30 +0000 (17:00 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 23 Dec 2021 11:33:17 +0000 (22:33 +1100)
commit0dabf5512849a0b3a40bd07ac23df57a788a01ed
tree9b05830d854b4955a320eb9c668e4b3d923ef957
parent8f440151e22efb65752be79cb1396234643dcd0f
powerpc/44x: Add __init attribute to eligible functions

Some functions defined in 'arch/powerpc/platforms/44x/' are deserving of an
`__init` macro attribute. These functions are only called by other
initialization functions and therefore should inherit the attribute.

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-16-nick.child@ibm.com
arch/powerpc/platforms/44x/fsp2.c