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

index 4fe62fca994e6b61f065b3075982476ab1fb09a4..008fd82b584041013082a87c127dc70f669679f8 100644 (file)
@@ -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) {