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

The function `Enable_SRAM` defined in 'arch/powerpc/platforms/chrp' is
deserving of an `__init` macro attribute. This function is 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-9-nick.child@ibm.com
arch/powerpc/platforms/chrp/pegasos_eth.c