diff options
author | Dmitri Vorobiev <dmitri.vorobiev@movial.com> | 2009-03-23 01:12:27 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2009-03-30 16:49:45 +0400 |
commit | d0cdfe2423e30f552eb3c90f20fb4c36bb548650 (patch) | |
tree | 2f392325d4e24c46bfde47824251aea2c0745a88 /arch/mips/include/asm/mips-boards | |
parent | b72b7092f8f5f0729cc9f0868997351f21dbc5cd (diff) | |
download | linux-d0cdfe2423e30f552eb3c90f20fb4c36bb548650.tar.xz |
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 @@ #define MIPS_REVISION_CORID (((*(volatile u32 *)ioremap(MIPS_REVISION_REG, 4)) >> 10) & 0x3f) -extern int mips_revision_corid; - #define MIPS_REVISION_SCON_OTHER 0 #define MIPS_REVISION_SCON_SOCITSC 1 #define MIPS_REVISION_SCON_SOCITSCP 2 |