diff options
author | Atsushi Nemoto <anemo@mba.ocn.ne.jp> | 2008-07-13 11:15:04 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2008-07-15 13:44:38 -0400 |
commit | 7b22609442a32050e37cec5f6735376af61e68a1 (patch) | |
tree | db340f9fc91d480c16ebdbdc4e0b9fa90995e756 /arch/mips/txx9/generic | |
parent | 4c642f3f5e9f3f1a2fcce2c3fa1a94bf80142202 (diff) |
[MIPS] TXx9: cleanup and fix some sparse warnings
* Do not return void value
* Make some functions static
* Do not include unnecessary bootinfo.h
Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/txx9/generic')
-rw-r--r-- | arch/mips/txx9/generic/setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/txx9/generic/setup.c b/arch/mips/txx9/generic/setup.c index 452cb9ea12c0..5afc5d5cab03 100644 --- a/arch/mips/txx9/generic/setup.c +++ b/arch/mips/txx9/generic/setup.c | |||
@@ -140,7 +140,7 @@ void __init prom_init(void) | |||
140 | 140 | ||
141 | strcpy(txx9_system_type, txx9_board_vec->system); | 141 | strcpy(txx9_system_type, txx9_board_vec->system); |
142 | 142 | ||
143 | return txx9_board_vec->prom_init(); | 143 | txx9_board_vec->prom_init(); |
144 | } | 144 | } |
145 | 145 | ||
146 | void __init prom_free_prom_memory(void) | 146 | void __init prom_free_prom_memory(void) |