Commit d0cdfe24 authored by Dmitri Vorobiev's avatar Dmitri Vorobiev Committed by Ralf Baechle

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: default avatarDmitri Vorobiev <dmitri.vorobiev@movial.com>
Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent b72b7092
......@@ -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. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment