summaryrefslogtreecommitdiffstats
path: root/arch/mips/mips-boards
diff options
context:
space:
mode:
authorDmitri Vorobiev <dmitri.vorobiev@gmail.com>2008-04-01 02:03:23 +0400
committerRalf Baechle <ralf@linux-mips.org>2008-04-28 17:14:28 +0100
commitb31dc3c4ff530923e471a66a8ad20801326e3951 (patch)
treedd15fcfe15a877b684324f33657fbe19a4188428 /arch/mips/mips-boards
parentddaf5740b9e822d3650a19ab9757b49ddf5c95de (diff)
downloadop-kernel-dev-b31dc3c4ff530923e471a66a8ad20801326e3951.zip
op-kernel-dev-b31dc3c4ff530923e471a66a8ad20801326e3951.tar.gz
[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 4fe62fc..008fd82 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) {
OpenPOWER on IntegriCloud