Commit 5bd080f7 authored by Ralf Baechle's avatar Ralf Baechle

[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: default avatarRalf Baechle <ralf@linux-mips.org>
parent 9975e77d
......@@ -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];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment