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)
commitd3aa3c5edf0cb7ac0b0b5b0d144bba60b0ee77da
tree3a672f568e1a0f1cd2ce8120cf3c06d625388c09
parent7c1ab16b2d035c6bc3b6b6980ab7e72f547edc45
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