Commit d3aa3c5e authored by Nick Child's avatar Nick Child Committed by Michael Ellerman
Browse files

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: default avatarNick Child <nick.child@ibm.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211216220035.605465-9-nick.child@ibm.com
parent 7c1ab16b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -113,7 +113,7 @@ static struct platform_device *mv643xx_eth_pd_devs[] __initdata = {

static void __iomem *mv643xx_reg_base;

static int Enable_SRAM(void)
static int __init Enable_SRAM(void)
{
	u32 ALong;