提交 5ef66935 编写于 作者: A Arthur Othieno 提交者: Ralf Baechle

prom_free_prom_memory() returns unsigned long

    
    Some boards declare prom_free_prom_memory as a void function but the
    caller free_initmem() expects a return value.
    
    Fix those up and return 0 instead, just like everyone else does.
Signed-off-by: NArthur Othieno <a.othieno@bluewin.ch>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 4b724efd
......@@ -236,8 +236,9 @@ void __init prom_init(void)
#endif
}
void __init prom_free_prom_memory(void)
unsigned long __init prom_free_prom_memory(void)
{
return 0;
}
void __init prom_fixup_mem_map(unsigned long start, unsigned long end)
......
......@@ -239,8 +239,9 @@ void __init prom_init(void)
#endif
}
void __init prom_free_prom_memory(void)
unsigned long __init prom_free_prom_memory(void)
{
return 0;
}
void __init prom_fixup_mem_map(unsigned long start, unsigned long end)
......
......@@ -132,8 +132,9 @@ void __init prom_init(void)
prom_grab_secondary();
}
void __init prom_free_prom_memory(void)
unsigned long __init prom_free_prom_memory(void)
{
return 0;
}
void __init prom_fixup_mem_map(unsigned long start, unsigned long end)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册