Commit 158d6742bced08c87fd46b5905eebc0d41e3cdf6

Authored by David Daney
Committed by Ralf Baechle
1 parent 4c7106c48a

MIPS: Octeon: Place cnmips_cu2_setup in __init memory.

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

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/1593/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/mips/cavium-octeon/cpu.c
... ... @@ -41,7 +41,7 @@
41 41 return NOTIFY_OK; /* Let default notifier send signals */
42 42 }
43 43  
44   -static int cnmips_cu2_setup(void)
  44 +static int __init cnmips_cu2_setup(void)
45 45 {
46 46 return cu2_notifier(cnmips_cu2_call, 0);
47 47 }