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

Some functions defined in 'arch/powerpc/platforms/4xx' 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-15-nick.child@ibm.com
arch/powerpc/platforms/4xx/cpm.c
arch/powerpc/platforms/4xx/pci.c