]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mips/au1000/mtx-1/init.c
[MIPS] Alchemy: kill useless #include's, #define's and extern's
[linux-2.6-omap-h63xx.git] / arch / mips / au1000 / mtx-1 / init.c
index 2aa7b2ed6a8c5559e8447e36daf2b3bf0bb0eb74..c015cbce1cca4b0c7b5063b39ffcc3362dd8bc4b 100644 (file)
  *  with this program; if not, write  to the Free Software Foundation, Inc.,
  *  675 Mass Ave, Cambridge, MA 02139, USA.
  */
-#include <linux/string.h>
+
 #include <linux/kernel.h>
-#include <linux/sched.h>
 #include <linux/init.h>
-#include <linux/mm.h>
-#include <linux/bootmem.h>
-#include <asm/addrspace.h>
+
 #include <asm/bootinfo.h>
 
-int prom_argc;
-char **prom_argv, **prom_envp;
-extern void  __init prom_init_cmdline(void);
-extern char *prom_getenv(char *envname);
+#include <prom.h>
 
 const char *get_system_type(void)
 {
@@ -56,8 +50,6 @@ void __init prom_init(void)
        prom_argv = (char **) fw_arg1;
        prom_envp = (char **) fw_arg2;
 
-       mips_machtype = MACH_MTX1;      /* set the platform # */
-
        prom_init_cmdline();
 
        memsize_str = prom_getenv("memsize");