From: Dmitri Vorobiev Date: Mon, 31 Mar 2008 22:03:23 +0000 (+0400) Subject: [MIPS] make plat_perf_setup() static X-Git-Tag: v2.6.26-rc1~700^2~26 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=b31dc3c4ff530923e471a66a8ad20801326e3951;p=linux-2.6-omap-h63xx.git [MIPS] make plat_perf_setup() static There is no need for the plat_perf_setup() function to be global, so make it 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/time.c b/arch/mips/mips-boards/generic/time.c index 4fe62fca994..008fd82b584 100644 --- a/arch/mips/mips-boards/generic/time.c +++ b/arch/mips/mips-boards/generic/time.c @@ -147,7 +147,7 @@ unsigned long read_persistent_clock(void) return mc146818_get_cmos_time(); } -void __init plat_perf_setup(void) +static void __init plat_perf_setup(void) { #ifdef MSC01E_INT_BASE if (cpu_has_veic) {