summaryrefslogtreecommitdiffstats
path: root/arch/mips/txx9/jmr3927
diff options
context:
space:
mode:
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>2008-07-14 00:15:04 +0900
committerRalf Baechle <ralf@linux-mips.org>2008-07-15 18:44:38 +0100
commit7b22609442a32050e37cec5f6735376af61e68a1 (patch)
treedb340f9fc91d480c16ebdbdc4e0b9fa90995e756 /arch/mips/txx9/jmr3927
parent4c642f3f5e9f3f1a2fcce2c3fa1a94bf80142202 (diff)
downloadlinux-7b22609442a32050e37cec5f6735376af61e68a1.tar.gz
linux-7b22609442a32050e37cec5f6735376af61e68a1.tar.bz2
linux-7b22609442a32050e37cec5f6735376af61e68a1.zip
[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.c3
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 @@
#ifdef CONFIG_SERIAL_TXX9
#include <linux/serial_core.h>
#endif
-
-#include <asm/bootinfo.h>
#include <asm/txx9tmr.h>
#include <asm/txx9pio.h>
#include <asm/reboot.h>
@@ -95,7 +93,6 @@ static void __init jmr3927_time_init(void)
#define DO_WRITE_THROUGH
#define DO_ENABLE_CACHE
-extern char * __init prom_getcmdline(void);
static void jmr3927_board_init(void);
static void __init jmr3927_mem_setup(void)