summaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards/generic/init.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2007-03-04 18:26:56 +0100
committerRalf Baechle <ralf@linux-mips.org>2007-03-07 01:07:15 +0100
commitf76b7ea48afb6daecbbc26f5408a75ac66b1cf23 (patch)
tree4b0e00ece5610c3c5975b988faa87231744c9bee /arch/mips/mips-boards/generic/init.c
parent[PATCH] paravirt: re-enable COMPAT_VDSO (diff)
downloadlinux-f76b7ea48afb6daecbbc26f5408a75ac66b1cf23.tar.xz
linux-f76b7ea48afb6daecbbc26f5408a75ac66b1cf23.zip
[MIPS] Atlas, Malta: Fix build warning.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to '')
-rw-r--r--arch/mips/mips-boards/generic/init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/generic/init.c
index b11337600129..1acdf091c258 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: