Skip to content

Commit

Permalink
[MIPS] IP22: Fix modpost warning.
Browse files Browse the repository at this point in the history
  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>
  • Loading branch information
Ralf Baechle committed Aug 27, 2007
1 parent 9975e77 commit 5bd080f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mips/sgi-ip22/ip22-mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ struct mem {
/*
* Detect installed memory, do some sanity checks and notify kernel about it
*/
static void probe_memory(void)
static void __init probe_memory(void)
{
int i, j, found, cnt = 0;
struct mem bank[4];
Expand Down

0 comments on commit 5bd080f

Please sign in to comment.