[MIPS] ARC: Fix several compiler warnings.
[pandora-kernel.git] / arch / mips / arc / init.c
index 0ac8f42..e2f75b1 100644 (file)
@@ -23,16 +23,16 @@ LONG *_prom_argv, *_prom_envp;
 void __init prom_init(void)
 {
        PSYSTEM_PARAMETER_BLOCK pb = PROMBLOCK;
+
        romvec = ROMVECTOR;
-       ULONG cnt;
-       CHAR c;
 
        prom_argc = fw_arg0;
        _prom_argv = (LONG *) fw_arg1;
        _prom_envp = (LONG *) fw_arg2;
 
        if (pb->magic != 0x53435241) {
-               printk(KERN_CRIT "Aieee, bad prom vector magic %08lx\n", pb->magic);
+               printk(KERN_CRIT "Aieee, bad prom vector magic %08lx\n",
+                      (unsigned long) pb->magic);
                while(1)
                        ;
        }