提交 d0cdfe24 编写于 作者: D Dmitri Vorobiev 提交者: 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: NDmitri Vorobiev <dmitri.vorobiev@movial.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册