[MIPS] make mips_ejtag_setup() static
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>
Mon, 31 Mar 2008 22:03:21 +0000 (02:03 +0400)
committerRalf Baechle <ralf@linux-mips.org>
Mon, 28 Apr 2008 16:14:27 +0000 (17:14 +0100)
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>
arch/mips/mips-boards/generic/init.c

index da36cc019c4451c719f8272c12aaf2df708f1059..83b9dc739203af55474ed5288c0c94f25b097b7e 100644 (file)
@@ -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;