From: Ralf Baechle Date: Sun, 4 Mar 2007 17:26:56 +0000 (+0000) Subject: [MIPS] Atlas, Malta: Fix build warning. X-Git-Tag: v2.6.21-rc3~15^2~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f76b7ea48afb6daecbbc26f5408a75ac66b1cf23;p=linux-2.6 [MIPS] Atlas, Malta: Fix build warning. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/generic/init.c index b113376001..1acdf091c2 100644 --- a/arch/mips/mips-boards/generic/init.c +++ b/arch/mips/mips-boards/generic/init.c @@ -251,8 +251,6 @@ void __init mips_ejtag_setup (void) void __init prom_init(void) { - u32 start, map, mask, data; - prom_argc = fw_arg0; _prom_argv = (int *) fw_arg1; _prom_envp = (int *) fw_arg2; @@ -278,6 +276,8 @@ void __init prom_init(void) mips_revision_corid = MIPS_REVISION_CORID_CORE_EMUL_MSC; } switch(mips_revision_corid) { + u32 start, map, mask, data; + case MIPS_REVISION_CORID_QED_RM5261: case MIPS_REVISION_CORID_CORE_LV: case MIPS_REVISION_CORID_CORE_FPGA: