summaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>2008-04-01 00:03:23 +0200
committerRalf Baechle <ralf@linux-mips.org>2008-04-28 18:14:28 +0200
commitb31dc3c4ff530923e471a66a8ad20801326e3951 (patch)
treedd15fcfe15a877b684324f33657fbe19a4188428 /arch/mips/mips-boards
parent[MIPS] make mdesc and prom_getmdesc() static (diff)
downloadlinux-b31dc3c4ff530923e471a66a8ad20801326e3951.tar.xz
linux-b31dc3c4ff530923e471a66a8ad20801326e3951.zip
[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 <dmitri.vorobiev@gmail.com> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/mips-boards')
-rw-r--r--arch/mips/mips-boards/generic/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/mips-boards/generic/time.c b/arch/mips/mips-boards/generic/time.c
index 4fe62fca994e..008fd82b5840 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) {