[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 4fe62fc..008fd82 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) {