diff options
author | Arthur Othieno <a.othieno@bluewin.ch> | 2005-10-28 00:42:56 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2005-10-29 14:32:53 -0400 |
commit | 5ef66935c1f6d412b37cf4f68281bd4fc7fca7e5 (patch) | |
tree | dfdf1058e37ef12c890719a37070ae011ab47e9a | |
parent | 4b724efdde0287d7ba616bd2badc63fca414f978 (diff) |
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>
-rw-r--r-- | arch/mips/momentum/jaguar_atx/prom.c | 3 | ||||
-rw-r--r-- | arch/mips/momentum/ocelot_3/prom.c | 3 | ||||
-rw-r--r-- | arch/mips/pmc-sierra/yosemite/prom.c | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/arch/mips/momentum/jaguar_atx/prom.c b/arch/mips/momentum/jaguar_atx/prom.c index 14ae2e71358..aae7a802767 100644 --- a/arch/mips/momentum/jaguar_atx/prom.c +++ b/arch/mips/momentum/jaguar_atx/prom.c | |||
@@ -236,8 +236,9 @@ void __init prom_init(void) | |||
236 | #endif | 236 | #endif |
237 | } | 237 | } |
238 | 238 | ||
239 | void __init prom_free_prom_memory(void) | 239 | unsigned long __init prom_free_prom_memory(void) |
240 | { | 240 | { |
241 | return 0; | ||
241 | } | 242 | } |
242 | 243 | ||
243 | void __init prom_fixup_mem_map(unsigned long start, unsigned long end) | 244 | void __init prom_fixup_mem_map(unsigned long start, unsigned long end) |
diff --git a/arch/mips/momentum/ocelot_3/prom.c b/arch/mips/momentum/ocelot_3/prom.c index c4fa9c525fa..9803daa2a79 100644 --- a/arch/mips/momentum/ocelot_3/prom.c +++ b/arch/mips/momentum/ocelot_3/prom.c | |||
@@ -239,8 +239,9 @@ void __init prom_init(void) | |||
239 | #endif | 239 | #endif |
240 | } | 240 | } |
241 | 241 | ||
242 | void __init prom_free_prom_memory(void) | 242 | unsigned long __init prom_free_prom_memory(void) |
243 | { | 243 | { |
244 | return 0; | ||
244 | } | 245 | } |
245 | 246 | ||
246 | void __init prom_fixup_mem_map(unsigned long start, unsigned long end) | 247 | void __init prom_fixup_mem_map(unsigned long start, unsigned long end) |
diff --git a/arch/mips/pmc-sierra/yosemite/prom.c b/arch/mips/pmc-sierra/yosemite/prom.c index 1fb3e697948..555bfacf764 100644 --- a/arch/mips/pmc-sierra/yosemite/prom.c +++ b/arch/mips/pmc-sierra/yosemite/prom.c | |||
@@ -132,8 +132,9 @@ void __init prom_init(void) | |||
132 | prom_grab_secondary(); | 132 | prom_grab_secondary(); |
133 | } | 133 | } |
134 | 134 | ||
135 | void __init prom_free_prom_memory(void) | 135 | unsigned long __init prom_free_prom_memory(void) |
136 | { | 136 | { |
137 | return 0; | ||
137 | } | 138 | } |
138 | 139 | ||
139 | void __init prom_fixup_mem_map(unsigned long start, unsigned long end) | 140 | void __init prom_fixup_mem_map(unsigned long start, unsigned long end) |