diff options
author | David Daney <ddaney@caviumnetworks.com> | 2010-09-23 11:24:09 -0700 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2010-10-04 18:34:00 +0100 |
commit | 158d6742bced08c87fd46b5905eebc0d41e3cdf6 (patch) | |
tree | e6915f960663dcc10bf87f784855e2c40c21e15d /arch | |
parent | 4c7106c48a061e26f646391cfe8ba7cbd28516b6 (diff) | |
download | kernel_samsung_crespo-158d6742bced08c87fd46b5905eebc0d41e3cdf6.zip kernel_samsung_crespo-158d6742bced08c87fd46b5905eebc0d41e3cdf6.tar.gz kernel_samsung_crespo-158d6742bced08c87fd46b5905eebc0d41e3cdf6.tar.bz2 |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/cavium-octeon/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/cavium-octeon/cpu.c b/arch/mips/cavium-octeon/cpu.c index c664c8c..a5b4279 100644 --- a/arch/mips/cavium-octeon/cpu.c +++ b/arch/mips/cavium-octeon/cpu.c @@ -41,7 +41,7 @@ static int cnmips_cu2_call(struct notifier_block *nfb, unsigned long action, 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); } |