mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-01 11:21:51 +00:00
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: Arthur Othieno <a.othieno@bluewin.ch> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
4b724efdde
commit
5ef66935c1
3 changed files with 6 additions and 3 deletions
|
@ -236,8 +236,9 @@ void __init prom_init(void)
|
||||||
#endif
|
#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)
|
void __init prom_fixup_mem_map(unsigned long start, unsigned long end)
|
||||||
|
|
|
@ -239,8 +239,9 @@ void __init prom_init(void)
|
||||||
#endif
|
#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)
|
void __init prom_fixup_mem_map(unsigned long start, unsigned long end)
|
||||||
|
|
|
@ -132,8 +132,9 @@ void __init prom_init(void)
|
||||||
prom_grab_secondary();
|
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)
|
void __init prom_fixup_mem_map(unsigned long start, unsigned long end)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue