From: Dmitri Vorobiev Date: Mon, 31 Mar 2008 22:03:21 +0000 (+0400) Subject: [MIPS] make mips_ejtag_setup() static X-Git-Tag: v2.6.26-rc1~700^2~28 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=33d69d2a784851431f24c55abb00dfec13502b0b;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/mips-boards/generic/init.c b/arch/mips/mips-boards/generic/init.c index da36cc019c4..83b9dc73920 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;