aboutsummaryrefslogtreecommitdiff
path: root/arch/mips/au1000/pb1000/init.c
diff options
context:
space:
mode:
authorYoichi Yuasa <yoichi_yuasa@tripeaks.co.jp>2007-10-15 19:11:24 +0900
committerJeff Garzik <jeff@garzik.org>2007-10-15 14:38:25 -0400
commit25b31cb118f399e9996ed7a3766b86c69a6bb07e (patch)
tree455e89553ee38d208dad1d50bb1ba9e8d9057001 /arch/mips/au1000/pb1000/init.c
parent2de889235d0e820a6b256b834ee6a64e12fede08 (diff)
add new prom.h for AU1x00
Add new prom.h for AU1x00. Signed-off-by: Yoichi Yuasa <yoichi_yuasa@tripeaks.co.jp> Acked-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'arch/mips/au1000/pb1000/init.c')
-rw-r--r--arch/mips/au1000/pb1000/init.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/arch/mips/au1000/pb1000/init.c b/arch/mips/au1000/pb1000/init.c
index 4535f7208e1..ddccaf6997d 100644
--- a/arch/mips/au1000/pb1000/init.c
+++ b/arch/mips/au1000/pb1000/init.c
@@ -30,15 +30,13 @@
#include <linux/mm.h>
#include <linux/sched.h>
#include <linux/bootmem.h>
-#include <asm/addrspace.h>
-#include <asm/bootinfo.h>
#include <linux/string.h>
#include <linux/kernel.h>
-int prom_argc;
-char **prom_argv, **prom_envp;
-extern void __init prom_init_cmdline(void);
-extern char *prom_getenv(char *envname);
+#include <asm/addrspace.h>
+#include <asm/bootinfo.h>
+
+#include <prom.h>
const char *get_system_type(void)
{