[MIPS] Atlas, Malta: Fix build warning.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 4 Mar 2007 17:26:56 +0000 (17:26 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 7 Mar 2007 00:07:15 +0000 (00:07 +0000)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/mips-boards/generic/init.c

index b11337600129b170a75ad0918a89ff72cd5db180..1acdf091c25877246fccae76d988ab6a3320de83 100644 (file)
@@ -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: