[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>
This commit is contained in:
Ralf Baechle 2007-08-13 12:47:17 +01:00
parent 9975e77df5
commit 5bd080f7d2

View File

@ -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];