diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.com> | 2009-03-22 18:12:27 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-03-30 08:49:45 -0400 |
commit | d0cdfe2423e30f552eb3c90f20fb4c36bb548650 (patch) | |
tree | 2f392325d4e24c46bfde47824251aea2c0745a88 /arch/mips/include/asm/mips-boards | |
parent | b72b7092f8f5f0729cc9f0868997351f21dbc5cd (diff) |
MIPS: Malta: make a needlessly global integer variable static
The variable `mips_revision_corid' is needlessly defined global in
arch/mips/mti-malta/malta-init.c, and this patch makes it static.
Build-tested with malta_defconfig.
Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@movial.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mips-boards')
-rw-r--r-- | arch/mips/include/asm/mips-boards/generic.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/mips/include/asm/mips-boards/generic.h b/arch/mips/include/asm/mips-boards/generic.h index 7f0b034dd9a5..c0da1a881e3d 100644 --- a/arch/mips/include/asm/mips-boards/generic.h +++ b/arch/mips/include/asm/mips-boards/generic.h | |||
@@ -71,8 +71,6 @@ | |||
71 | 71 | ||
72 | #define MIPS_REVISION_CORID (((*(volatile u32 *)ioremap(MIPS_REVISION_REG, 4)) >> 10) & 0x3f) | 72 | #define MIPS_REVISION_CORID (((*(volatile u32 *)ioremap(MIPS_REVISION_REG, 4)) >> 10) & 0x3f) |
73 | 73 | ||
74 | extern int mips_revision_corid; | ||
75 | |||
76 | #define MIPS_REVISION_SCON_OTHER 0 | 74 | #define MIPS_REVISION_SCON_OTHER 0 |
77 | #define MIPS_REVISION_SCON_SOCITSC 1 | 75 | #define MIPS_REVISION_SCON_SOCITSC 1 |
78 | #define MIPS_REVISION_SCON_SOCITSCP 2 | 76 | #define MIPS_REVISION_SCON_SOCITSCP 2 |