aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>2008-03-31 18:03:23 -0400
committerRalf Baechle <ralf@linux-mips.org>2008-04-28 12:14:28 -0400
commitb31dc3c4ff530923e471a66a8ad20801326e3951 (patch)
treedd15fcfe15a877b684324f33657fbe19a4188428 /arch
parentddaf5740b9e822d3650a19ab9757b49ddf5c95de (diff)
[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')
-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)
147 return mc146818_get_cmos_time(); 147 return mc146818_get_cmos_time();
148} 148}
149 149
150void __init plat_perf_setup(void) 150static void __init plat_perf_setup(void)
151{ 151{
152#ifdef MSC01E_INT_BASE 152#ifdef MSC01E_INT_BASE
153 if (cpu_has_veic) { 153 if (cpu_has_veic) {