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>
This commit is contained in:
parent
b72b7092f8
commit
d0cdfe2423
@ -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
|
||||
|
@ -48,7 +48,7 @@ int *_prom_argv, *_prom_envp;
|
||||
|
||||
int init_debug = 0;
|
||||
|
||||
int mips_revision_corid;
|
||||
static int mips_revision_corid;
|
||||
int mips_revision_sconid;
|
||||
|
||||
/* Bonito64 system controller register base. */
|
||||
|
Loading…
Reference in New Issue
Block a user