summaryrefslogtreecommitdiff
path: root/arch/mips/mips-boards/generic/init.c
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>2008-04-01 02:03:21 +0400
committerRalf Baechle <ralf@linux-mips.org>2008-04-28 17:14:27 +0100
commit33d69d2a784851431f24c55abb00dfec13502b0b (patch)
tree54551fac559c417bcee01135d2acc89bd5201588 /arch/mips/mips-boards/generic/init.c
parentcd2675fba90d3e87fa7c9902fd7fdedc2e5022e0 (diff)
downloadlwn-33d69d2a784851431f24c55abb00dfec13502b0b.tar.gz
lwn-33d69d2a784851431f24c55abb00dfec13502b0b.zip
[MIPS] make mips_ejtag_setup() static
This change makes the needlessly global function mips_ejtag_setup() static. Successfully build-tested using default configs for Malta, Atlas and SEAD boards. Runtime test successfully performed by booting the Malta 4Kc board up to the shell prompt. Signed-off-by: Dmitri Vorobiev <dmitri.vorobiev@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards/generic/init.c')
-rw-r--r--arch/mips/mips-boards/generic/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/generic/init.c
index da36cc019c44..83b9dc739203 100644
--- a/arch/mips/mips-boards/generic/init.c
+++ b/arch/mips/mips-boards/generic/init.c
@@ -238,7 +238,7 @@ static void __init mips_nmi_setup(void)
flush_icache_range((unsigned long)base, (unsigned long)base + 0x80);
}
-void __init mips_ejtag_setup(void)
+static void __init mips_ejtag_setup(void)
{
void *base;
extern char except_vec_ejtag_debug;