Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 158d6742 authored by David Daney's avatar David Daney Committed by Ralf Baechle
Browse files

MIPS: Octeon: Place cnmips_cu2_setup in __init memory.



It is an early_initcall, so it should be in __init memory.

Signed-off-by: default avatarDavid Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1593/


Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 4c7106c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -41,7 +41,7 @@ static int cnmips_cu2_call(struct notifier_block *nfb, unsigned long action,
	return NOTIFY_OK;		/* Let default notifier send signals */
	return NOTIFY_OK;		/* Let default notifier send signals */
}
}


static int cnmips_cu2_setup(void)
static int __init cnmips_cu2_setup(void)
{
{
	return cu2_notifier(cnmips_cu2_call, 0);
	return cu2_notifier(cnmips_cu2_call, 0);
}
}