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/jmr3927 | |
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/jmr3927')
-rw-r--r-- | arch/mips/txx9/jmr3927/setup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/mips/txx9/jmr3927/setup.c b/arch/mips/txx9/jmr3927/setup.c index 61edc4ac1dbc..5e35ef73c5a5 100644 --- a/arch/mips/txx9/jmr3927/setup.c +++ b/arch/mips/txx9/jmr3927/setup.c | |||
@@ -38,8 +38,6 @@ | |||
38 | #ifdef CONFIG_SERIAL_TXX9 | 38 | #ifdef CONFIG_SERIAL_TXX9 |
39 | #include <linux/serial_core.h> | 39 | #include <linux/serial_core.h> |
40 | #endif | 40 | #endif |
41 | |||
42 | #include <asm/bootinfo.h> | ||
43 | #include <asm/txx9tmr.h> | 41 | #include <asm/txx9tmr.h> |
44 | #include <asm/txx9pio.h> | 42 | #include <asm/txx9pio.h> |
45 | #include <asm/reboot.h> | 43 | #include <asm/reboot.h> |
@@ -95,7 +93,6 @@ static void __init jmr3927_time_init(void) | |||
95 | #define DO_WRITE_THROUGH | 93 | #define DO_WRITE_THROUGH |
96 | #define DO_ENABLE_CACHE | 94 | #define DO_ENABLE_CACHE |
97 | 95 | ||
98 | extern char * __init prom_getcmdline(void); | ||
99 | static void jmr3927_board_init(void); | 96 | static void jmr3927_board_init(void); |
100 | 97 | ||
101 | static void __init jmr3927_mem_setup(void) | 98 | static void __init jmr3927_mem_setup(void) |