diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2007-08-13 07:47:17 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2007-08-26 21:16:56 -0400 |
commit | 5bd080f7d21c8f6841d63b8cdb4123a95a311eb9 (patch) | |
tree | b911af3e5f6563371667b5f8b6789f5f096ed7d9 /arch/mips/sgi-ip22 | |
parent | 9975e77df5428a1afff57fd8f76a1bc0bfc247fc (diff) |
[MIPS] IP22: Fix modpost warning.
MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0xc70): Section mismatch: reference to .init.text:add_memory_region (between 'probe_memory' and 'enable_local0_irq')
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/sgi-ip22')
-rw-r--r-- | arch/mips/sgi-ip22/ip22-mc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/sgi-ip22/ip22-mc.c b/arch/mips/sgi-ip22/ip22-mc.c index ddb6506d8341..01a805dcc67c 100644 --- a/arch/mips/sgi-ip22/ip22-mc.c +++ b/arch/mips/sgi-ip22/ip22-mc.c | |||
@@ -47,7 +47,7 @@ struct mem { | |||
47 | /* | 47 | /* |
48 | * Detect installed memory, do some sanity checks and notify kernel about it | 48 | * Detect installed memory, do some sanity checks and notify kernel about it |
49 | */ | 49 | */ |
50 | static void probe_memory(void) | 50 | static void __init probe_memory(void) |
51 | { | 51 | { |
52 | int i, j, found, cnt = 0; | 52 | int i, j, found, cnt = 0; |
53 | struct mem bank[4]; | 53 | struct mem bank[4]; |