• Ralf Baechle's avatar
    [MIPS] ARC: Fix several compiler warnings. · b2e569d8
    Ralf Baechle authored
      CC      arch/mips/arc/init.o
    arch/mips/arc/init.c: In function 'prom_init':
    arch/mips/arc/init.c:27: warning: ISO C90 forbids mixed declarations and code
    arch/mips/arc/init.c:35: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 2 has type 'ULONG'
    arch/mips/arc/init.c:28: warning: unused variable 'c'
    arch/mips/arc/init.c:27: warning: unused variable ‘cnt’
    Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    b2e569d8
init.c 1.1 KB